diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-24 13:30:51 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-24 13:30:51 +0200 |
| commit | 6e5b0ab026093e39fd863ca605250d9558edce41 (patch) | |
| tree | 96c9f48c078b3beed987716074b77a61a9c0593d /config.def.h | |
| parent | 5993bc8c8fd13e71410d1f8b555665c0b8e95f22 (diff) | |
| download | vis-6e5b0ab026093e39fd863ca605250d9558edce41.tar.gz vis-6e5b0ab026093e39fd863ca605250d9558edce41.tar.xz | |
Implement 'g0', 'gm', 'g$'
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index bab72f5..3061aef 100644 --- a/config.def.h +++ b/config.def.h @@ -130,6 +130,9 @@ static KeyBinding vis_movements[] = { { { NONE('(') }, movement, { .i = MOVE_SENTENCE_PREV } }, { { NONE(')') }, movement, { .i = MOVE_SENTENCE_NEXT } }, { { NONE('g'), NONE('g') }, movement, { .i = MOVE_FILE_BEGIN } }, + { { NONE('g'), NONE('0') }, movement, { .i = MOVE_SCREEN_LINE_BEGIN } }, + { { NONE('g'), NONE('m') }, movement, { .i = MOVE_SCREEN_LINE_MIDDLE} }, + { { NONE('g'), NONE('$') }, movement, { .i = MOVE_SCREEN_LINE_END } }, { { NONE('G') }, movement, { .i = MOVE_LINE } }, { { NONE('|') }, movement, { .i = MOVE_COLUMN } }, { { NONE('n') }, movement, { .i = MOVE_SEARCH_FORWARD } }, |
