Last active
October 24, 2015 12:34
-
-
Save timcharper/c8d8bb01b3a13e5f68f4 to your computer and use it in GitHub Desktop.
Better evil word behavior
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun forward-evil-word (&optional count) | |
"" | |
(let ((init-point (point))) | |
(forward-symbol (or count 1)) | |
(if (= (point) init-point) | |
count 0))) | |
(setq evil-symbol-word-search t) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
evil-symbol-word-search
works for #/* searching, thanks!Do you find that
forward-symbol
actually does what you want for word movement? I find it jumping over places I expect w to stop, for example:With point on
F
, pressing w jumps to1
rather than stopping on=
.