aboutsummaryrefslogtreecommitdiffhomepage
path: root/input.h
diff options
context:
space:
mode:
authorGravatar Michael Steed <msteed68@gmail.com>2015-05-30 16:44:25 -0600
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-06-04 12:09:02 -0700
commitcb984cf761debdc858db48065b2c1d94b31de49e (patch)
treeb12eb23ac8a9c8717ffe839f9ee427687569a3f4 /input.h
parent7efbcc039d9e41369be590bb77d8ce7fd4a9b260 (diff)
Add 'bigword' vi key bindings
- Add four new functions: forward-bigword, backward-bigword, kill-bigword, backward-kill-bigword - Add new enum move_word_style_whitespace and related state machine method - Change vi key bindings to operate on bigwords: B, gE, W, E, dW, diW, daW, dE, dB, dgE, cW, ciW, caW, cE, cB, cgE, yW, yiW, yaW, yE, yB, ygE
Diffstat (limited to 'input.h')
-rw-r--r--input.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/input.h b/input.h
index a3a3a076..323eb26d 100644
--- a/input.h
+++ b/input.h
@@ -30,6 +30,8 @@ enum
R_BACKWARD_CHAR,
R_FORWARD_WORD,
R_BACKWARD_WORD,
+ R_FORWARD_BIGWORD,
+ R_BACKWARD_BIGWORD,
R_HISTORY_SEARCH_BACKWARD,
R_HISTORY_SEARCH_FORWARD,
R_DELETE_CHAR,
@@ -44,8 +46,10 @@ enum
R_BACKWARD_KILL_LINE,
R_KILL_WHOLE_LINE,
R_KILL_WORD,
+ R_KILL_BIGWORD,
R_BACKWARD_KILL_WORD,
R_BACKWARD_KILL_PATH_COMPONENT,
+ R_BACKWARD_KILL_BIGWORD,
R_HISTORY_TOKEN_SEARCH_BACKWARD,
R_HISTORY_TOKEN_SEARCH_FORWARD,
R_SELF_INSERT,