diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2022-08-12 21:56:27 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2022-09-14 00:45:42 +0100 |
commit | c95f51f446db57d804025835055aebbe3da233bc (patch) | |
tree | d20477aef9f8e87f7a4e7cf2baeff5580fd70188 | |
parent | b5d8363a9c1cafd45761c47570305e901ba71404 (diff) | |
download | dotfiles-c95f51f446db57d804025835055aebbe3da233bc.tar.gz dotfiles-c95f51f446db57d804025835055aebbe3da233bc.tar.bz2 dotfiles-c95f51f446db57d804025835055aebbe3da233bc.zip |
(Emacs)+org/swiper-goto
Better version of org-goto, use in place imenu when in org mode documents
-rw-r--r-- | Emacs/.config/emacs/config.org | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 621fb3b..2bcdb16 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -2209,7 +2209,7 @@ Emacs was very helpful here. ("breakanywhere" "true") ))) #+end_src -*** Org Core Configuration +*** Org Core Functionality Hooks, prettify-symbols and records for auto insertion. #+begin_src emacs-lisp (use-package org @@ -2235,9 +2235,17 @@ Hooks, prettify-symbols and records for auto insertion. Some bindings for org mode. #+begin_src emacs-lisp (use-package org + :after counsel + :config + (defun +org/swiper-goto () + (interactive) + (swiper "^\\* ")) :general (leader "fw" #'org-capture) + (nmmap + :keymaps 'org-mode-map + [remap counsel-imenu] #'+org/swiper-goto) (local-leader :keymaps 'org-mode-map "t" #'org-ctrl-c-ctrl-c |