Word commands do not respect word boundaries of the current syntax table
- Dominant language
- Emacs Lisp
- Stars
- 3.9k
- Forks
- 307
- PR merge metrics
- No merged PRs in 30d
Description
Originally reported by: **Mika Vilpas (Bitbucket: [sp3ctum](https://bitbucket.org/sp3ctum), GitHub: [sp3ctum](https://github.com/sp3ctum))**
----------------------------------------
Commands operating on words, such as `w` and `*`, don't seem to respect the syntax table of the current mode for me. In this isssue it is described to alter the syntax table to include, for example, dashes (-) as being part of a word: https://bitbucket.org/lyro/evil/issues/222/w-command-is-not-compatibile-with-vims
I have this in my config:
```
;; http://timothypratley.blogspot.fi/2014/08/clojure-friendly-word-definitions-in.html
;; Treat these characters as word characters. Works great with evil-mode!
(dolist (c (string-to-list ":_-?!#*"))
(modify-syntax-entry c "w" clojure-mode-syntax-table)
(modify-syntax-entry c "w" emacs-lisp-mode-syntax-table))
```
This used to work in evil-20141003.1015, but now I've upgraded to evil-20150818.1313 and the functionality is broken for me. Is there a way to work around this? Have I misconfigured somehow?
----------------------------------------
- Bitbucket: https://bitbucket.org/lyro/evil/issue/565
Contributor guide
Assessment
This issue has not been assessed yet.