diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-07-03 23:58:13 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-07-04 00:09:37 +0200 |
| commit | bfb9071526d770d1d598bb8a9752313154441283 (patch) | |
| tree | e0969805bb14ce5224611e8d4101e62cec0295e9 /vis-core.h | |
| parent | 54ca598fcccff8844bfbe494cd3b325b2fea487f (diff) | |
| download | vis-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |
