narrowing in org-mode
This commit is contained in:
		
							parent
							
								
									5540a7aff2
								
							
						
					
					
						commit
						93739a0591
					
				
					 2 changed files with 10 additions and 23 deletions
				
			
		| 
						 | 
				
			
			@ -114,9 +114,9 @@ In order to have this config work on both my desktop with regular joe-schmoe mon
 | 
			
		|||
 | 
			
		||||
(defun chris/set-transparency ()
 | 
			
		||||
  "Set the frame to be transparent on Wayland compositors"
 | 
			
		||||
  (set-frame-parameter (selected-frame) 'alpha '(100 . 100))
 | 
			
		||||
  (add-to-list 'default-frame-alist '(alpha . (100 . 100)))
 | 
			
		||||
  (add-to-list 'initial-frame-alist '(alpha . (100 . 100))))
 | 
			
		||||
  (set-frame-parameter (selected-frame) 'alpha-background 85)
 | 
			
		||||
  (add-to-list 'default-frame-alist '(alpha-background . 85))
 | 
			
		||||
  (add-to-list 'initial-frame-alist '(alpha-background . 85)))
 | 
			
		||||
 | 
			
		||||
(if (daemonp)
 | 
			
		||||
    (add-hook 'after-make-frame-functions
 | 
			
		||||
| 
						 | 
				
			
			@ -707,6 +707,8 @@ Part of this config includes some special capture templates for my work as a you
 | 
			
		|||
           "ge" 'org-edit-src-code
 | 
			
		||||
           "gr" 'revert-buffer
 | 
			
		||||
           "ze" 'org-emphasize
 | 
			
		||||
           "zn" 'org-narrow-to-subtree
 | 
			
		||||
           "zw" 'widen
 | 
			
		||||
           "S" 'org-schedule
 | 
			
		||||
           "t" 'org-todo)
 | 
			
		||||
  ('insert org-mode-map
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										25
									
								
								init.el
									
										
									
									
									
								
							
							
						
						
									
										25
									
								
								init.el
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -39,9 +39,9 @@
 | 
			
		|||
 | 
			
		||||
(defun chris/set-transparency ()
 | 
			
		||||
  "Set the frame to be transparent on Wayland compositors"
 | 
			
		||||
  (set-frame-parameter (selected-frame) 'alpha '(100 . 100))
 | 
			
		||||
  (add-to-list 'default-frame-alist '(alpha . (100 . 100)))
 | 
			
		||||
  (add-to-list 'initial-frame-alist '(alpha . (100 . 100))))
 | 
			
		||||
  (set-frame-parameter (selected-frame) 'alpha-background 85)
 | 
			
		||||
  (add-to-list 'default-frame-alist '(alpha-background . 85))
 | 
			
		||||
  (add-to-list 'initial-frame-alist '(alpha-background . 85)))
 | 
			
		||||
 | 
			
		||||
(if (daemonp)
 | 
			
		||||
    (add-hook 'after-make-frame-functions
 | 
			
		||||
| 
						 | 
				
			
			@ -507,6 +507,8 @@
 | 
			
		|||
           "ge" 'org-edit-src-code
 | 
			
		||||
           "gr" 'revert-buffer
 | 
			
		||||
           "ze" 'org-emphasize
 | 
			
		||||
           "zn" 'org-narrow-to-subtree
 | 
			
		||||
           "zw" 'widen
 | 
			
		||||
           "S" 'org-schedule
 | 
			
		||||
           "t" 'org-todo)
 | 
			
		||||
  ('insert org-mode-map
 | 
			
		||||
| 
						 | 
				
			
			@ -2244,20 +2246,3 @@ interfere with the default `bongo-playlist-buffer'."
 | 
			
		|||
        gcmh-verbose nil))
 | 
			
		||||
 | 
			
		||||
(setq warning-suppress-types '((comp)))
 | 
			
		||||
(custom-set-variables
 | 
			
		||||
 ;; custom-set-variables was added by Custom.
 | 
			
		||||
 ;; If you edit it by hand, you could mess it up, so be careful.
 | 
			
		||||
 ;; Your init file should contain only one such instance.
 | 
			
		||||
 ;; If there is more than one, they won't work right.
 | 
			
		||||
 '(pdf-misc-print-program "/usr/bin/lpr")
 | 
			
		||||
 '(pdf-misc-print-program-args '("-o media=Letter" "-o fitplot"))
 | 
			
		||||
 '(safe-local-variable-values
 | 
			
		||||
   '((aggressive-indent-mode)
 | 
			
		||||
     (projectile-project-run-cmd . "./build/bin/presenter")
 | 
			
		||||
     (projectile-project-compilation-cmd . "cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -B build/ . && make --dir build/"))))
 | 
			
		||||
(custom-set-faces
 | 
			
		||||
 ;; custom-set-faces was added by Custom.
 | 
			
		||||
 ;; If you edit it by hand, you could mess it up, so be careful.
 | 
			
		||||
 ;; Your init file should contain only one such instance.
 | 
			
		||||
 ;; If there is more than one, they won't work right.
 | 
			
		||||
 '(org-modern-tag ((t :background "#9aedfe" :foreground "#282a36"))))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue