Integrate new code folding more aggressively
This is necessary for +evil/fold-{open,close}-all to recieve its interactive <c> argument.
This commit is contained in:
parent
86cca42723
commit
47afa2f51c
2 changed files with 21 additions and 7 deletions
|
@ -76,10 +76,18 @@
|
|||
|
||||
|
||||
;; --- keybind fixes ----------------------
|
||||
(after! wgrep
|
||||
;; a wrapper that invokes `wgrep-mark-deletion' across lines
|
||||
;; you use `evil-delete' on.
|
||||
(map! :map wgrep-mode-map [remap evil-delete] #'+evil-delete))
|
||||
(map! (:after wgrep
|
||||
;; a wrapper that invokes `wgrep-mark-deletion' across lines
|
||||
;; you use `evil-delete' on.
|
||||
:map wgrep-mode-map [remap evil-delete] #'+evil-delete)
|
||||
|
||||
;; replace native folding commands
|
||||
:n "zo" #'+evil/fold-open
|
||||
:n "zO" #'+evil/fold-open
|
||||
:n "zc" #'+evil/fold-close
|
||||
:n "za" #'+evil/fold-toggle
|
||||
:n "zr" #'+evil/fold-open-all
|
||||
:n "zm" #'+evil/fold-close-all)
|
||||
|
||||
|
||||
;; --- evil hacks -------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue