narrowing in org-mode

This commit is contained in:
Chris Cochrun 2022-06-30 11:44:42 -05:00
parent 5540a7aff2
commit 93739a0591
2 changed files with 10 additions and 23 deletions

View file

@ -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