diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-01-13 13:18:44 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-01-13 13:31:14 +0100 |
| commit | 4600b76efe80c9ba0461276412e58992d2300cae (patch) | |
| tree | cacbd17ffca5a50c541e9c8582df99f64e11bf89 /man | |
| parent | 42d169f374f14595c52c523b40c97dc90707c46f (diff) | |
| download | vis-4600b76efe80c9ba0461276412e58992d2300cae.tar.gz vis-4600b76efe80c9ba0461276412e58992d2300cae.tar.xz | |
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.
Diffstat (limited to 'man')
| -rw-r--r-- | man/vis.1 | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 , |
