From fa14c618ca6165f0cb544352376baf708d337959 Mon Sep 17 00:00:00 2001 From: oreodave Date: Fri, 1 Nov 2019 02:35:38 +0000 Subject: +tag narrow in buffer map for org mode --- doom.d/config.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doom.d/config.org') diff --git a/doom.d/config.org b/doom.d/config.org index 2c444fa..e66a837 100644 --- a/doom.d/config.org +++ b/doom.d/config.org @@ -242,6 +242,7 @@ each of the unit tests ran." nil) (setq omnisharp-server-executable-path "~/bin/omnisharp/run") + (add-hook 'csharp-mode-hook '(lambda() (setq c-basic-offset 4) (c-set-style "java"))) ; Hook for csharp setting variables @@ -312,7 +313,8 @@ each of the unit tests ran." :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)) + :desc "Go out of narrow" "o" #'widen + :desc "Narrow tags" "t" #'org-tags-sparse-tree)) )) #+END_SRC I like using the org dispatch facilities more than the default export keybinds -- cgit v1.2.3-13-gbd6f