From c95f51f446db57d804025835055aebbe3da233bc Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 12 Aug 2022 21:56:27 +0100 Subject: (Emacs)+org/swiper-goto Better version of org-goto, use in place imenu when in org mode documents --- Emacs/.config/emacs/config.org | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Emacs/.config/emacs') 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 -- cgit v1.2.3-13-gbd6f