diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-07-25 15:06:34 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-07-25 15:06:34 +0200 |
commit | 641e28615398a960b810ec53a50398a63a3d2f68 (patch) | |
tree | 51198f8718c97245aad3e1a666e97c966df07341 /src/testdir/test53.in | |
parent | 058bdcfd5d7f2fd0945e3cb9c84cab514cd95fb9 (diff) | |
download | vim-git-641e28615398a960b810ec53a50398a63a3d2f68.tar.gz |
updated for version 7.3.610v7.3.610
Problem: Cannot operate on the text that a search pattern matches.
Solution: Add the "gn" and "gN" commands. (Christian Brabandt)
Diffstat (limited to 'src/testdir/test53.in')
-rw-r--r-- | src/testdir/test53.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/testdir/test53.in b/src/testdir/test53.in index c2023e97b..cc333c7a1 100644 --- a/src/testdir/test53.in +++ b/src/testdir/test53.in @@ -28,6 +28,13 @@ fXdat :put =matchstr(\"abcd\", \".\", 0, -1) " a :put =match(\"abcd\", \".\", 0, 5) " -1 :put =match(\"abcd\", \".\", 0, -1) " 0 +/^foobar +gncsearchmatch/one\_s*two\_s +:1 +gnd +/[a]bcdx +:1 +2gnd :/^start:/,/^end:/wq! test.out ENDTEST @@ -45,4 +52,9 @@ voo "nah" sdf " asdf" sdf " sdf" sd -<b>asdf<i>Xasdf</i>asdf</b>- -<b>asdX<i>as<b />df</i>asdf</b>- </begin> +SEARCH: +foobar +one +two +abcdx | abcdx | abcdx end: |