Using imenu to jump to Org headers

And a couple other tweaks.
This commit is contained in:
Howard Abrams 2022-03-11 10:55:39 -08:00
parent 0dd7ba0355
commit 31a706d5f9
3 changed files with 4 additions and 6 deletions

View file

@ -336,7 +336,7 @@ Can we change Evil at this point? Some tips:
evil-disable-insert-state-bindings t evil-disable-insert-state-bindings t
evil-want-keybinding nil evil-want-keybinding nil
evil-want-integration t evil-want-integration t
evil-escape-key-sequence "fd" evil-escape-key-sequence "jk"
evil-escape-unordered-key-sequence t) evil-escape-unordered-key-sequence t)
:config :config
@ -414,6 +414,7 @@ Let's try this general "space" prefix by defining some top-level operations, inc
"RET" 'bookmark-jump "RET" 'bookmark-jump
"a" '(:ignore t :which-key "apps") "a" '(:ignore t :which-key "apps")
"o" '(:ignore t :which-key "org/open") "o" '(:ignore t :which-key "org/open")
"o i" 'imenu
"m" '(:ignore t :which-key "mode")) "m" '(:ignore t :which-key "mode"))
#+END_SRC #+END_SRC
And ways to stop the system: And ways to stop the system:
@ -791,10 +792,6 @@ Let's make Info behave a little more VI-like:
"p" 'Info-backward-node "p" 'Info-backward-node
"n" 'Info-forward-node)) ; Old habit die hard "n" 'Info-forward-node)) ; Old habit die hard
#+END_SRC #+END_SRC
*** Consult Enhancements
The [[https://github.com/minad/consult][consult]] package is a replacement for selecting buffers and other /speciality functions/, similar to the [[https://oremacs.com/2015/04/09/counsel-completion/][Ivy's counsel completion]] project. I think I may be adding it sparingly, as personally, I read files and buffers based on the selected /project/.
The pattern is to add the /consult/ functions to my standard general leader organization, but they will all end with ~TAB~ (unique, easy and consistent).
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package consult (use-package consult
:config :config

View file

@ -71,6 +71,7 @@ Begin by initializing these org variables:
; but uses a trick to make it ; but uses a trick to make it
; appear indented. ; appear indented.
org-imenu-depth 4
sentence-end-double-space nil ; I jump around by sentences, but seldom have two spaces. sentence-end-double-space nil ; I jump around by sentences, but seldom have two spaces.
org-export-with-sub-superscripts nil org-export-with-sub-superscripts nil

View file

@ -4,7 +4,7 @@
;; Copyright (C) 2020 Howard X. Abrams ;; Copyright (C) 2020 Howard X. Abrams
;; ;;
;; Author: Howard X. Abrams <http://github/howard> ;; Author: Howard X. Abrams <http://github/howard>
;; Maintainer: Howard X. Abrams <howard.abrams@gmail.com> ;; Maintainer: Howard X. Abrams
;; Created: September 11, 2020 ;; Created: September 11, 2020
;; Modified: September 11, 2020 ;; Modified: September 11, 2020
;; Version: 0.0.1 ;; Version: 0.0.1