aboutsummaryrefslogtreecommitdiff
path: root/vis.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-11-16 22:39:28 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-11-16 22:39:28 +0100
commit4707fed2a21f4836b0eba28135040c3a456c9da9 (patch)
tree7edbe2574c64edc690eeb917609e3d1a493e6158 /vis.h
parent4a6df4bceaf76d4ed727ddf3510d69f65484324c (diff)
downloadvis-4707fed2a21f4836b0eba28135040c3a456c9da9.tar.gz
vis-4707fed2a21f4836b0eba28135040c3a456c9da9.tar.xz
sam: use default shell command for <, >, | and ! when applicaple
If the shell command is omitted, the last shell command (of any type) is substituted. The most recently used shell command is stored in a new register currently named `!`.
Diffstat (limited to 'vis.h')
-rw-r--r--vis.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vis.h b/vis.h
index e3d0812..2506c4a 100644
--- a/vis.h
+++ b/vis.h
@@ -398,6 +398,7 @@ enum VisRegister {
VIS_MACRO_REPEAT, /* copy of the above macro once the recording is finished */
VIS_REG_SEARCH, /* last used search pattern "/ */
VIS_REG_COMMAND, /* last used :-command ": */
+ VIS_REG_SHELL, /* last used shell command given to either <, >, |, or ! */
VIS_REG_INVALID, /* has to be the last 'real' register */
VIS_REG_A, VIS_REG_B, VIS_REG_C, VIS_REG_D, VIS_REG_E,
VIS_REG_F, VIS_REG_G, VIS_REG_H, VIS_REG_I, VIS_REG_J,