tags:

views:

34

answers:

1
+2  Q: 

VIM "." in cword?

I'm in VIM.

I want to consider "." are a character that is part of a word (rather than a character that separates words). How do I do this?

Thanks!

+2  A: 

Add it to the iskeyword option. For example,

:set iskeyword?
  iskeyword=@,48-57,_,192-255
:set iskeyword=@,48-57,_,192-255,.
Greg Hewgill