Add block level movement in org-files.
This commit is contained in:
parent
7e496beee9
commit
a08a5d2dc8
2 changed files with 54 additions and 49 deletions
|
@ -507,7 +507,11 @@ Global keybindings available to all file buffers:
|
||||||
Bindings specific to org files:
|
Bindings specific to org files:
|
||||||
#+name: org-keybindings
|
#+name: org-keybindings
|
||||||
#+begin_src emacs-lisp :tangle no
|
#+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
|
(ha-org-leader
|
||||||
"e" '("exports" . org-export-dispatch)
|
"e" '("exports" . org-export-dispatch)
|
||||||
|
|
|
@ -80,12 +80,13 @@ Why use [[https://www.flycheck.org/][flycheck]] over the built-in =flymake=? Spe
|
||||||
"<" '("previous problem" . flycheck-previous-error)
|
"<" '("previous problem" . flycheck-previous-error)
|
||||||
|
|
||||||
"e" '(:ignore t :which-key "errors")
|
"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 b" '("error buffer" . flycheck-buffer)
|
||||||
"e c" '("clear" . flycheck-clear)
|
"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 l" '("list all" . flycheck-list-errors)
|
||||||
"e g" '("goto error" . counsel-flycheck)
|
"e g" '("goto error" . counsel-flycheck)
|
||||||
"e y" '("copy errors" . flycheck-copy-errors-as-kill)
|
"e y" '("copy errors" . flycheck-copy-errors-as-kill)
|
||||||
|
|
Loading…
Reference in a new issue