aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororeodave <aryadevchavali1@gmail.com>2019-10-24 23:16:14 +0100
committeroreodave <aryadevchavali1@gmail.com>2019-10-24 23:16:14 +0100
commit37aa72d61622b9736332ffb45ead8543ebb16bc9 (patch)
tree3935b25c75af97bce10fbccb52c906020c5841a6
parentfa4636b5649d4bc3ba7010a74fb8782f31925fbb (diff)
downloaddotfiles-37aa72d61622b9736332ffb45ead8543ebb16bc9.tar.gz
dotfiles-37aa72d61622b9736332ffb45ead8543ebb16bc9.tar.bz2
dotfiles-37aa72d61622b9736332ffb45ead8543ebb16bc9.zip
+bindings to narrow and expand from a heading
-rw-r--r--doom.d/config.org5
1 files changed, 4 insertions, 1 deletions
diff --git a/doom.d/config.org b/doom.d/config.org
index b116aee..eb69a70 100644
--- a/doom.d/config.org
+++ b/doom.d/config.org
@@ -372,7 +372,10 @@ each of the unit tests ran."
:map org-mode-map
(:localleader
:desc "Org dispatch" "e" #'org-export-dispatch
- :desc "Export to ODT" "E" #'org-pandoc-export-to-odt)
+ :desc "Export to ODT" "E" #'org-pandoc-export-to-odt
+ (:prefix ("n" . "+narrow")
+ :desc "Narrow to subtree" "n" #'org-narrow-to-subtree
+ :desc "Go out of narrow" "o" #'widen))
))
#+END_SRC
I like using the org dispatch facilities more than the default export keybinds