Tuesday, December 10, 2013

Re: Selecting an IPv4-address?

On 2013-12-10, Tim Chase wrote:
> On 2013-12-10 19:36, Ben Fritz wrote:
> > If you're going to start using regular expressions, I'd just match
> > the whole IP and use gn on it.
>
> "gn"? Is this from some plugin I don't use, or from a newer version
> of Vim that Debian Stable doesn't yet provide out-of-the-box? ":help
> gn" lands me on the "g:gnat" help target which I'm positive you don't
> mean. :-)

It appeared in 7.3.610.

From version7.txt (found using ":helpgrep \<gn\>"):

Patch 7.3.610
Problem: Cannot operate on the text that a search pattern matches.
Solution: Add the "gn" and "gN" commands. (Christian Brabandt)
Files: runtime/doc/index.txt, runtime/doc/visual.txt, src/normal.c,
src/proto/search.pro, src/search.c, src/testdir/test53.in,
src/testdir/test53.ok

Regards,
Gary

--
--
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/groups/opt_out.

No comments:

Post a Comment