aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-04-21 08:06:55 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-04-21 11:05:45 +0200
commitaca46a0da8969f15d9356c149687f961b6852516 (patch)
treeffc96967c3110d9a684fec302973845e7de2b23d /editor.h
parent1b1590ed4f33f3da16ff648c7e0f1a45db6811dd (diff)
downloadvis-aca46a0da8969f15d9356c149687f961b6852516.tar.gz
vis-aca46a0da8969f15d9356c149687f961b6852516.tar.xz
Clean up to/till movements
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor.h b/editor.h
index bdf2865..2466f1f 100644
--- a/editor.h
+++ b/editor.h
@@ -108,7 +108,6 @@ typedef struct { /** collects all information until an operator is e
const TextObject *textobj;
Register *reg;
int mark;
- Key key;
Arg arg;
} Action;
@@ -230,6 +229,7 @@ struct Editor {
EditorWin *prompt_window; /* window which was focused before prompt was shown */
char prompt_type; /* command ':' or search '/','?' prompt */
Regex *search_pattern; /* last used search pattern */
+ char search_char[8]; /* last used character to search for via 'f', 'F', 't', 'T' */
int tabwidth; /* how many spaces should be used to display a tab */
bool expandtab; /* whether typed tabs should be converted to spaces */
bool autoindent; /* whether indentation should be copied from previous line on newline */