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-want-keybinding nil
evil-want-integration t
evil-escape-key-sequence "fd"
evil-escape-key-sequence "jk"
evil-escape-unordered-key-sequence t)
:config
@ -414,6 +414,7 @@ Let's try this general "space" prefix by defining some top-level operations, inc
"RET" 'bookmark-jump
"a" '(:ignore t :which-key "apps")
"o" '(:ignore t :which-key "org/open")
"o i" 'imenu
"m" '(:ignore t :which-key "mode"))
#+END_SRC
And ways to stop the system:
@ -791,10 +792,6 @@ Let's make Info behave a little more VI-like:
"p" 'Info-backward-node
"n" 'Info-forward-node)) ; Old habit die hard
#+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
(use-package consult
:config

View file

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

View file

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