aboutsummaryrefslogtreecommitdiff
path: root/vis-core.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-07-03 23:58:13 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-07-04 00:09:37 +0200
commitbfb9071526d770d1d598bb8a9752313154441283 (patch)
treee0969805bb14ce5224611e8d4101e62cec0295e9 /vis-core.h
parent54ca598fcccff8844bfbe494cd3b325b2fea487f (diff)
downloadvis-bfb9071526d770d1d598bb8a9752313154441283.tar.gz
vis-bfb9071526d770d1d598bb8a9752313154441283.tar.xz
vis: implement `gv` by means of new "^ register
This window local register holds the last active selections.
Diffstat (limited to 'vis-core.h')
-rw-r--r--vis-core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vis-core.h b/vis-core.h
index cd93096..8d95f97 100644
--- a/vis-core.h
+++ b/vis-core.h
@@ -162,6 +162,7 @@ struct Win {
View *view; /* currently displayed part of underlying text */
RingBuffer *jumplist; /* LRU jump management */
ChangeList changelist; /* state for iterating through least recently changes */
+ Register reg_selections;/* register used to store selections */
Mode modes[VIS_MODE_INVALID]; /* overlay mods used for per window key bindings */
Win *parent; /* window which was active when showing the command prompt */
Mode *parent_mode; /* mode which was active when showing the command prompt */