narrowing in org-mode
This commit is contained in:
parent
5540a7aff2
commit
93739a0591
|
@ -114,9 +114,9 @@ In order to have this config work on both my desktop with regular joe-schmoe mon
|
||||||
|
|
||||||
(defun chris/set-transparency ()
|
(defun chris/set-transparency ()
|
||||||
"Set the frame to be transparent on Wayland compositors"
|
"Set the frame to be transparent on Wayland compositors"
|
||||||
(set-frame-parameter (selected-frame) 'alpha '(100 . 100))
|
(set-frame-parameter (selected-frame) 'alpha-background 85)
|
||||||
(add-to-list 'default-frame-alist '(alpha . (100 . 100)))
|
(add-to-list 'default-frame-alist '(alpha-background . 85))
|
||||||
(add-to-list 'initial-frame-alist '(alpha . (100 . 100))))
|
(add-to-list 'initial-frame-alist '(alpha-background . 85)))
|
||||||
|
|
||||||
(if (daemonp)
|
(if (daemonp)
|
||||||
(add-hook 'after-make-frame-functions
|
(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
|
"ge" 'org-edit-src-code
|
||||||
"gr" 'revert-buffer
|
"gr" 'revert-buffer
|
||||||
"ze" 'org-emphasize
|
"ze" 'org-emphasize
|
||||||
|
"zn" 'org-narrow-to-subtree
|
||||||
|
"zw" 'widen
|
||||||
"S" 'org-schedule
|
"S" 'org-schedule
|
||||||
"t" 'org-todo)
|
"t" 'org-todo)
|
||||||
('insert org-mode-map
|
('insert org-mode-map
|
||||||
|
|
25
init.el
25
init.el
|
@ -39,9 +39,9 @@
|
||||||
|
|
||||||
(defun chris/set-transparency ()
|
(defun chris/set-transparency ()
|
||||||
"Set the frame to be transparent on Wayland compositors"
|
"Set the frame to be transparent on Wayland compositors"
|
||||||
(set-frame-parameter (selected-frame) 'alpha '(100 . 100))
|
(set-frame-parameter (selected-frame) 'alpha-background 85)
|
||||||
(add-to-list 'default-frame-alist '(alpha . (100 . 100)))
|
(add-to-list 'default-frame-alist '(alpha-background . 85))
|
||||||
(add-to-list 'initial-frame-alist '(alpha . (100 . 100))))
|
(add-to-list 'initial-frame-alist '(alpha-background . 85)))
|
||||||
|
|
||||||
(if (daemonp)
|
(if (daemonp)
|
||||||
(add-hook 'after-make-frame-functions
|
(add-hook 'after-make-frame-functions
|
||||||
|
@ -507,6 +507,8 @@
|
||||||
"ge" 'org-edit-src-code
|
"ge" 'org-edit-src-code
|
||||||
"gr" 'revert-buffer
|
"gr" 'revert-buffer
|
||||||
"ze" 'org-emphasize
|
"ze" 'org-emphasize
|
||||||
|
"zn" 'org-narrow-to-subtree
|
||||||
|
"zw" 'widen
|
||||||
"S" 'org-schedule
|
"S" 'org-schedule
|
||||||
"t" 'org-todo)
|
"t" 'org-todo)
|
||||||
('insert org-mode-map
|
('insert org-mode-map
|
||||||
|
@ -2244,20 +2246,3 @@ interfere with the default `bongo-playlist-buffer'."
|
||||||
gcmh-verbose nil))
|
gcmh-verbose nil))
|
||||||
|
|
||||||
(setq warning-suppress-types '((comp)))
|
(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…
Reference in a new issue