From 95bae46af604f1fda07c8e7b92a278e28792c427 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 25 Feb 2016 16:25:14 +0100 Subject: vis: use standard registers for macro recordings Also support upper case register to append to an existing macro. --- vis-core.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vis-core.h') 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 */ -- cgit v1.2.3