aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-13 18:39:01 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-13 18:39:01 +0200
commit25ba078b62ada6276217ca35b12b8dabf3a2b439 (patch)
treeb5a25e3a1882c5eb36c7b2330fee27d7cd0847a9 /config.def.h
parent1ae7600bdc302da4647d5910bea8f2437646fb70 (diff)
downloadvis-25ba078b62ada6276217ca35b12b8dabf3a2b439.tar.gz
vis-25ba078b62ada6276217ca35b12b8dabf3a2b439.tar.xz
Add movements 'H', 'M', 'L'
H moves to the n-th window line from top M moves to the middle window line L moves to the n-th window line from bottom
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 8206cac..c748780 100644
--- a/config.def.h
+++ b/config.def.h
@@ -129,6 +129,9 @@ static KeyBinding vis_movements[] = {
{ { NONE('|') }, movement, { .i = MOVE_COLUMN } },
{ { NONE('n') }, movement, { .i = MOVE_SEARCH_FORWARD } },
{ { NONE('N') }, movement, { .i = MOVE_SEARCH_BACKWARD } },
+ { { NONE('H') }, movement, { .i = MOVE_WINDOW_LINE_TOP } },
+ { { NONE('M') }, movement, { .i = MOVE_WINDOW_LINE_MIDDLE} },
+ { { NONE('L') }, movement, { .i = MOVE_WINDOW_LINE_BOTTOM} },
{ { NONE('f') }, movement_key, { .i = MOVE_RIGHT_TO } },
{ { NONE('F') }, movement_key, { .i = MOVE_LEFT_TO } },
{ { NONE('t') }, movement_key, { .i = MOVE_RIGHT_TILL } },