Wednesday, February 25, 2015

Re: what does iskeyword option do?

On Wednesday, February 25, 2015 at 10:02:46 AM UTC-6, FlashBurn wrote:
> I'm trying to understand the meaning of 'iskeyword' option but I can't figure out from the help what it does. Any help in finding out of the meaning of this option is greatly appreciated.

What's not clear? The help says: 'Keywords are used in searching and recognizing with many commands: "w", "*", "[i", etc. It is also used for "\k" in a |pattern|.'

So, it affects where the 'w' command (move to next word) stops. It affects what text the '*' command searches for. It affects what text the '[i' command searches for. It affects what other similar commands search for.

It also affects what text the '\k' character class matches when you are searching.

Search the help with ':helpgrep iskeyword' for other things it affects, for example, the CTRL-W command in insert and command-line mode, for deleting a word.

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: