Friday, May 7, 2010

possible to change how vim defines a 'word'?

Apparently uses the groups of the characters [a-zA-Z_] to define a
word, e.g. for use by 'b' or 'w' commands.

Since I work a lot with ip addresses I would like vim to be able to
recognise a valid ip address and treat that as word too (a regexp for
ip address would be [0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3} )

Is this possible with vim?

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