Add block level movement in org-files.

This commit is contained in:
Howard Abrams 2022-11-03 22:16:16 -07:00
parent 7e496beee9
commit a08a5d2dc8
2 changed files with 54 additions and 49 deletions

View file

@ -507,7 +507,11 @@ Global keybindings available to all file buffers:
Bindings specific to org files:
#+name: org-keybindings
#+begin_src emacs-lisp :tangle no
(evil-define-key '(normal motion operator visual) org-mode-map "gu" #'org-up-element)
(evil-define-key '(normal motion operator visual)
org-mode-map
"gu" #'org-up-element
"gb" #'org-next-block
"gB" #'org-previous-block)
(ha-org-leader
"e" '("exports" . org-export-dispatch)

View file

@ -80,12 +80,13 @@ Why use [[https://www.flycheck.org/][flycheck]] over the built-in =flymake=? Spe
"<" '("previous problem" . flycheck-previous-error)
"e" '(:ignore t :which-key "errors")
"e n" '(flycheck-next-error :repeat t :wk "next")
"e N" '(flycheck-next-error :repeat t :wk "next")
"e p" '(flycheck-previous-error :repeat t :wk "previous")
"e P" '(flycheck-previous-error :repeat t :wk "previous")
"e b" '("error buffer" . flycheck-buffer)
"e c" '("clear" . flycheck-clear)
"e n" '("next" . flycheck-next-error)
"e N" '("next" . flycheck-next-error)
"e p" '("previous" . flycheck-previous-error)
"e P" '("previous" . flycheck-previous-error)
"e l" '("list all" . flycheck-list-errors)
"e g" '("goto error" . counsel-flycheck)
"e y" '("copy errors" . flycheck-copy-errors-as-kill)