diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-02-25 16:25:14 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-02-25 17:20:00 +0100 |
| commit | 95bae46af604f1fda07c8e7b92a278e28792c427 (patch) | |
| tree | 6efdeab93b78e61171c5a8289cf42659298649dd /vis-core.h | |
| parent | 08d686d991cce58a22b4841010feae0e38dbe3d0 (diff) | |
| download | vis-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.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 */ |
