diff options
author | 2015-05-30 16:44:25 -0600 | |
---|---|---|
committer | 2015-06-04 12:09:02 -0700 | |
commit | cb984cf761debdc858db48065b2c1d94b31de49e (patch) | |
tree | b12eb23ac8a9c8717ffe839f9ee427687569a3f4 /input.h | |
parent | 7efbcc039d9e41369be590bb77d8ce7fd4a9b260 (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.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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, |