aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-04-11 10:39:46 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-04-11 10:43:23 +0200
commit3ea63f3951dd8e1c624966d6966ea8ca0e359b09 (patch)
treefc90659e0dfed41a9419edd233dde54751a38471 /editor.h
parent3f3125ee103401cf561b38b00f9b34187b8d6a52 (diff)
downloadvis-3ea63f3951dd8e1c624966d6966ea8ca0e359b09.tar.gz
vis-3ea63f3951dd8e1c624966d6966ea8ca0e359b09.tar.xz
Eliminate global state for repetition of last modification
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h1
1 files changed, 1 insertions, 0 deletions
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*);