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:
Henrik Lissner 2019-10-30 22:21:37 -04:00
parent 9fa447a83b
commit 5f6d9eadb3
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -419,10 +419,6 @@ To change these keys see `+evil-repeat-keys'."
:m "[M" #'+evil/previous-end-of-method
:m "]#" #'+evil/next-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
;; ported from vim-unimpaired
@ -454,6 +450,8 @@ To change these keys see `+evil-repeat-keys'."
;; custom vim-unmpaired-esque keys
:m "]a" #'evil-forward-arg
:m "[a" #'evil-backward-arg
:m "]c" #'+evil/next-comment
:m "[c" #'+evil/previous-comment
:m "]e" #'next-error
:m "[e" #'previous-error
:n "]F" #'+evil/next-frame