Mercurial > vim
comparison runtime/doc/index.txt @ 3701:9f48a5432997 v7.3.610
updated for version 7.3.610
Problem: Cannot operate on the text that a search pattern matches.
Solution: Add the "gn" and "gN" commands. (Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 25 Jul 2012 15:06:34 +0200 |
parents | 3502a7f991fc |
children | 9910cbff5f16 |
comparison
equal
deleted
inserted
replaced
3700:b21287fb280b | 3701:9f48a5432997 |
---|---|
749 |gi| gi 2 like "i", but first move to the |'^| mark | 749 |gi| gi 2 like "i", but first move to the |'^| mark |
750 |gj| gj 1 like "j", but when 'wrap' on go N screen | 750 |gj| gj 1 like "j", but when 'wrap' on go N screen |
751 lines down | 751 lines down |
752 |gk| gk 1 like "k", but when 'wrap' on go N screen | 752 |gk| gk 1 like "k", but when 'wrap' on go N screen |
753 lines up | 753 lines up |
754 |gn| gn 1,2 find the next match with the last used | |
755 search pattern and Visually select it | |
754 |gm| gm 1 go to character at middle of the screenline | 756 |gm| gm 1 go to character at middle of the screenline |
755 |go| go 1 cursor to byte N in the buffer | 757 |go| go 1 cursor to byte N in the buffer |
756 |gp| ["x]gp 2 put the text [from register x] after the | 758 |gp| ["x]gp 2 put the text [from register x] after the |
757 cursor N times, leave the cursor after it | 759 cursor N times, leave the cursor after it |
758 |gq| gq{motion} 2 format Nmove text | 760 |gq| gq{motion} 2 format Nmove text |