From 3ea63f3951dd8e1c624966d6966ea8ca0e359b09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 11 Apr 2015 10:39:46 +0200 Subject: Eliminate global state for repetition of last modification --- editor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'editor.h') diff --git a/editor.h b/editor.h index 771f8f8..81d2c73 100644 --- a/editor.h +++ b/editor.h @@ -123,6 +123,7 @@ struct Editor { bool autoindent; /* whether indentation should be copied from previous line on newline */ Map *cmds; /* ":"-commands, used for unique prefix queries */ Map *options; /* ":set"-options */ + Buffer buffer_repeat; /* holds data to repeat last insertion/replacement */ }; Editor *editor_new(Ui*); -- cgit v1.2.3