Fix zr, zm, zR & zM vimmish folding in org-mode

Fixes the following keybinds for evil users:

z r        open next level of headings buffer-wide
z m        close next level of headings buffer-wide
z R        open all folded headings
z M        close all folded headings
[N] z R    open all headings at level N and above
[N] z M    close all headings at level N and below
This commit is contained in:
Henrik Lissner 2020-05-13 19:29:10 -04:00
parent 7bbb52f17c
commit a10c157d87
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 22 additions and 9 deletions

View file

@ -907,11 +907,12 @@ compelling reason, so..."
:n "zc" #'+org/close-fold
:n "zC" #'outline-hide-subtree
:n "zm" #'+org/hide-next-fold-level
:n "zM" #'+org/close-all-folds
:n "zn" #'org-tree-to-indirect-buffer
:n "zo" #'+org/open-fold
:n "zO" #'outline-show-subtree
:n "zr" #'+org/show-next-fold-level
:n "zR" #'outline-show-all
:n "zR" #'+org/open-all-folds
:n "zi" #'org-toggle-inline-images
:map org-read-date-minibuffer-local-map