Vim move word skips dot
It's the 'iskeyword'
option. You may be able to change this behavior simply by doing:
:set iskeyword-=.
If that doesn't work it means the period character is included in the option as part of a character range instead of individually, and you'll have to check the value (with the question mark as part of the command):
:verbose set iskeyword?
Then determine how to properly modify it to exclude the period. Take a look at this (with the single-quotes as part of the command):
:help 'iskeyword'
I should warn you that having the period character included in 'iskeyword'
is not a Vim default, so you may have a filetype plugin or language specific syntax highlighting that is adding it. The reason it would is because the 'iskeyword
' is used for many things, including certain regular expression atoms, which can be used in syntax highlighting. So removing it may "break" something else.