mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Bind '{[,]} c' to jump between comments
I know {[,]} * and {[,]} \\ are the unimpaired keys for this, but putting it on 'c' makes much more sense and is easier to hit.
This commit is contained in:
@ -419,10 +419,6 @@ To change these keys see `+evil-repeat-keys'."
|
|||||||
:m "[M" #'+evil/previous-end-of-method
|
:m "[M" #'+evil/previous-end-of-method
|
||||||
:m "]#" #'+evil/next-preproc-directive
|
:m "]#" #'+evil/next-preproc-directive
|
||||||
:m "[#" #'+evil/previous-preproc-directive
|
:m "[#" #'+evil/previous-preproc-directive
|
||||||
:m "]*" #'+evil/next-comment
|
|
||||||
:m "[*" #'+evil/previous-comment
|
|
||||||
:m "]\\" #'+evil/next-comment
|
|
||||||
:m "[\\" #'+evil/previous-comment
|
|
||||||
:v "@" #'+evil:apply-macro
|
:v "@" #'+evil:apply-macro
|
||||||
|
|
||||||
;; ported from vim-unimpaired
|
;; ported from vim-unimpaired
|
||||||
@ -454,6 +450,8 @@ To change these keys see `+evil-repeat-keys'."
|
|||||||
;; custom vim-unmpaired-esque keys
|
;; custom vim-unmpaired-esque keys
|
||||||
:m "]a" #'evil-forward-arg
|
:m "]a" #'evil-forward-arg
|
||||||
:m "[a" #'evil-backward-arg
|
:m "[a" #'evil-backward-arg
|
||||||
|
:m "]c" #'+evil/next-comment
|
||||||
|
:m "[c" #'+evil/previous-comment
|
||||||
:m "]e" #'next-error
|
:m "]e" #'next-error
|
||||||
:m "[e" #'previous-error
|
:m "[e" #'previous-error
|
||||||
:n "]F" #'+evil/next-frame
|
:n "]F" #'+evil/next-frame
|
||||||
|
Reference in New Issue
Block a user