aboutsummaryrefslogtreecommitdiff
path: root/vis-core.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-02-25 16:25:14 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-02-25 17:20:00 +0100
commit95bae46af604f1fda07c8e7b92a278e28792c427 (patch)
tree6efdeab93b78e61171c5a8289cf42659298649dd /vis-core.h
parent08d686d991cce58a22b4841010feae0e38dbe3d0 (diff)
downloadvis-95bae46af604f1fda07c8e7b92a278e28792c427.tar.gz
vis-95bae46af604f1fda07c8e7b92a278e28792c427.tar.xz
vis: use standard registers for macro recordings
Also support upper case register to append to an existing macro.
Diffstat (limited to 'vis-core.h')
-rw-r--r--vis-core.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/vis-core.h b/vis-core.h
index 15b4167..fc42a37 100644
--- a/vis-core.h
+++ b/vis-core.h
@@ -142,8 +142,7 @@ struct Vis {
Win *windows; /* all windows currently managed by this editor instance */
Win *win; /* currently active/focused window */
Win *message_window; /* special window to display multi line messages */
- Register registers[VIS_REG_INVALID]; /* registers used for yank and put */
- Macro macros[VIS_MACRO_INVALID]; /* recorded macros */
+ Register registers[VIS_REG_INVALID]; /* registers used for text manipulations yank/put etc. and macros */
Macro *recording, *last_recording; /* currently (if non NULL) and least recently recorded macro */
Macro *macro_operator; /* special macro used to repeat certain operators */
Mode *mode_before_prompt; /* user mode which was active before entering prompt */