From 4600b76efe80c9ba0461276412e58992d2300cae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 13 Jan 2017 13:18:44 +0100 Subject: vis: introduce registers 0-9 and & to capture search matches These are currently only updated for `x` and `y` sam commands, whether they should be updated for other search related activities (`/`, `?`, `n`, `N`, `*`, `#` etc.) needs to be investigated. --- man/vis.1 | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'man/vis.1') diff --git a/man/vis.1 b/man/vis.1 index d7cd675..00f1880 100644 --- a/man/vis.1 +++ b/man/vis.1 @@ -116,6 +116,13 @@ system clipboard integration via shell script .Xr vis-clipboard 1 .It \(dq0 yank register, most recently yanked range +.It \(dq1-\(dq9 +.It \(dq& +sub expression matches of most recent +.Ic x +or +.Ic y +command .It \(dq/ search register, most recently used search pattern .It \(dq: @@ -518,6 +525,12 @@ If the regular expression and its slashes are omitted, .Li "/.*\[rs]n/" is assumed. Null string matches potentially occur before every character of the range and at the end of the range. +.Pp +The +.Ic \(dq1-\(dq9 +and +.Ic \(dq& +registers are updated with the (sub) expression matches of the pattern. .It Ic y/regexp/ Bq command Like .Ic x , -- cgit v1.2.3