Use consult-org-heading instead of imenus for Org buffers
This commit is contained in:
parent
922fd20f3b
commit
1f349676eb
10
init.org
10
init.org
|
@ -627,7 +627,6 @@ Add these common operations to the hydra -
|
|||
("N" contrapunctus-line-display-hydra/body "line display")
|
||||
("o" save-buffer "save") ;; QWERTY s
|
||||
("s" save-buffer "save")
|
||||
("n" imenus "imenus")
|
||||
("S" imenu-list "sidebar")
|
||||
("T" cp-insert-timestamp "timestamp")
|
||||
("u" find-file "new")
|
||||
|
@ -814,6 +813,7 @@ _u_: next word ^_l_: edit lines^ _s_: next whole symbol
|
|||
("B" (my-compile-org-lp t) "compile (prompt)")
|
||||
("C-b" contrapunctus-async-tangle "babel-tangle")
|
||||
("e" my-org-eval-hydra/body "eval")
|
||||
("n" consult-org-heading "consult-org-heading")
|
||||
|
||||
("h" my-help-hydra/body "Help")
|
||||
("E" toggle-debug-on-error "tdoe")
|
||||
|
@ -4042,7 +4042,11 @@ SLIME opens CLHS links in Firefox, but I'd rather open them in Tor Browser; Tor
|
|||
org-src-window-setup 'current-window
|
||||
org-src-strip-leading-and-trailing-blank-lines t
|
||||
org-src-preserve-indentation t
|
||||
org-src-tab-acts-natively t)
|
||||
org-src-tab-acts-natively t
|
||||
;; https://emacs.stackexchange.com/questions/20759/all-org-subheadings-in-imenu
|
||||
;; I ended up using consult-org-heading instead
|
||||
org-goto-interface 'outline-path-completion
|
||||
org-outline-path-complete-in-steps nil)
|
||||
(org-link-set-parameters "gemini" :export #'my-export-gemini-link)
|
||||
(org-link-set-parameters "xmpp" :export #'my-export-xmpp-link))
|
||||
|
||||
|
@ -4796,7 +4800,7 @@ Create advice for =lispy-pair= - if =lispy--in-string-or-comment-p= is true, sel
|
|||
(use-package imenu
|
||||
:hook (imenu-after-jump . (lambda () (recenter 0))) ;; also applies to `imenus'
|
||||
:config (setq imenu-auto-rescan t
|
||||
org-imenu-depth 5))
|
||||
org-imenu-depth 10))
|
||||
#+END_SRC
|
||||
|
||||
**** imenus
|
||||
|
|
Loading…
Reference in New Issue