aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-04-21 08:52:49 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-04-21 11:06:10 +0200
commitd941d9cbc8891c745c11edfd6211c3bb69626991 (patch)
treeb50c3fdcff18af7eb937916cd9d9c44529fb6281 /editor.h
parentaca46a0da8969f15d9356c149687f961b6852516 (diff)
downloadvis-d941d9cbc8891c745c11edfd6211c3bb69626991.tar.gz
vis-d941d9cbc8891c745c11edfd6211c3bb69626991.tar.xz
Implement ';' and ','
This fixes #45
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 2466f1f..a3077c5 100644
--- a/editor.h
+++ b/editor.h
@@ -230,6 +230,7 @@ struct Editor {
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 last_totill; /* last to/till movement used for ';' and ',' */
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 */