Home » Questions » Computers [ Ask a new question ]

Is there anyway to have vim not count special characters as words?

Is there anyway to have vim not count special characters as words?

I'm using VIM do alot of work for me using the macros.

Asked by: Guest | Views: 235
Total answers/comments: 1
Guest [Entry]

"You can change the definition of a word in vim by using

:set iskeyword=<specification>

Remeber to change it back, though, when you have finished with the special usage.

:set iskeyword?

will show the current usage. My terminal responds with

iskeyword=@,48-57,_,192-255

for all the letters a-z and A-Z (@), digits 0 to 9 (ASCII 48-57), underscore and international letters (ASCII 192-255)"