diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-07-27 22:00:53 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-07-28 13:21:50 +0200 |
| commit | 1dfef906f43eb1d950d71cb6e44d6b83e2d158f3 (patch) | |
| tree | 0cfd84d6c9b2ec87a833cec9c84c75b334f2ea82 /config.def.h | |
| parent | b134abd515969c123182d5f20008a5f89bd7bfe4 (diff) | |
| download | vis-1dfef906f43eb1d950d71cb6e44d6b83e2d158f3.tar.gz vis-1dfef906f43eb1d950d71cb6e44d6b83e2d158f3.tar.xz | |
vis: CTRL+J and CTRL+K creates a new cursor on the line below/above
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 92276ea..c88d54f 100644 --- a/config.def.h +++ b/config.def.h @@ -360,6 +360,8 @@ static KeyBinding vis_marks_set[] = { static KeyBinding vis_mode_normal[] = { { { NONE(ESC) }, cursors_clear, { } }, + { { CONTROL('K') }, cursors_new, { .i = -1 } }, + { { CONTROL('J') }, cursors_new, { .i = +1 } }, { { CONTROL('w'), NONE('n') }, cmd, { .s = "open" } }, { { CONTROL('w'), NONE('c') }, cmd, { .s = "q" } }, { { CONTROL('w'), NONE('s') }, cmd, { .s = "split" } }, |
