The w key now skips over snake_case words
This commit is contained in:
parent
3cad9fdaf6
commit
06239b0963
1 changed files with 4 additions and 0 deletions
|
@ -400,6 +400,10 @@ Can we change Evil at this point? Some tips:
|
||||||
evil-escape-unordered-key-sequence t)
|
evil-escape-unordered-key-sequence t)
|
||||||
|
|
||||||
:config
|
:config
|
||||||
|
;; Underscores are part of a symbolic word in programming languages:
|
||||||
|
;; Sure, I could use capital `W' and `B', but I often forget that.
|
||||||
|
(modify-syntax-entry ?_ "w")
|
||||||
|
|
||||||
;; Now that `evil-disable-insert-state-bindings' works to use Emacs
|
;; Now that `evil-disable-insert-state-bindings' works to use Emacs
|
||||||
;; keybindings in Evil's insert mode, we no longer need this code:
|
;; keybindings in Evil's insert mode, we no longer need this code:
|
||||||
;; (setq evil-insert-state-map (make-sparse-keymap))
|
;; (setq evil-insert-state-map (make-sparse-keymap))
|
||||||
|
|
Loading…
Reference in a new issue