Mercurial > vim
comparison runtime/doc/pattern.txt @ 11160:d0a20101ecb2
Update runtime files.
commit https://github.com/vim/vim/commit/036986f1507d223549d110af300144468bd3a1f7
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 16 17:41:02 2017 +0100
Update runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 16 Mar 2017 17:45:05 +0100 |
parents | 1218c5353e2b |
children | 588de97b40e7 |
comparison
equal
deleted
inserted
replaced
11159:c13ab9398ce9 | 11160:d0a20101ecb2 |
---|---|
870 stopped match in the area that |gv| would reselect. | 870 stopped match in the area that |gv| would reselect. |
871 This is a |/zero-width| match. To make sure the whole pattern is | 871 This is a |/zero-width| match. To make sure the whole pattern is |
872 inside the Visual area put it at the start and just before the end of | 872 inside the Visual area put it at the start and just before the end of |
873 the pattern, e.g.: > | 873 the pattern, e.g.: > |
874 /\%Vfoo.*ba\%Vr | 874 /\%Vfoo.*ba\%Vr |
875 < This works if "foo bar" (or more) was Visually selected. This: > | 875 < This also works if only "foo bar" was Visually selected. This: > |
876 /\%Vfoo.*ba\%Vr | 876 /\%Vfoo.*bar\%V |
877 < would match "foo bar" if the Visual selection continues after the "r". | 877 < would match "foo bar" if the Visual selection continues after the "r". |
878 Only works for the current buffer. | 878 Only works for the current buffer. |
879 | 879 |
880 */\%#* *cursor-position* | 880 */\%#* *cursor-position* |
881 \%# Matches with the cursor position. Only works when matching in a | 881 \%# Matches with the cursor position. Only works when matching in a |