Monday, December 12, 2011

Re: Make underscore a non-word character in the current buffer

On 12/12/11 13:30, BPJ wrote:
> I need to make underscore a non-word character in the current
> buffer, preferably without having to list all characters which
> should be word characters after the change. How?

Sounds like you want

:setlocal isk-=_

to remove "_" from the 'iskeyword' settings for the current buffer.

:help 'isk'
:help :set-=

-tim


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: