aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-10 21:02:28 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-10 21:28:59 +0200
commit457ce33d1ca3a23388b93dbfb4cb5dd429a6c0de (patch)
treee6730f53ebf2f063f6a112e176bf7d9d3106daf2 /config.def.h
parent5c82b53dc43eed66276166d4224749bf11c21e7f (diff)
downloadvis-457ce33d1ca3a23388b93dbfb4cb5dd429a6c0de.tar.gz
vis-457ce33d1ca3a23388b93dbfb4cb5dd429a6c0de.tar.xz
Add normal mode commands 'O' and 'o'
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 8613794..7a0385c 100644
--- a/config.def.h
+++ b/config.def.h
@@ -341,6 +341,8 @@ static KeyBinding vis_normal[] = {
{ { NONE('.') }, repeat, { } },
{ { NONE('n') }, movement, { .i = MOVE_SEARCH_FORWARD } },
{ { NONE('N') }, movement, { .i = MOVE_SEARCH_BACKWARD } },
+ { { NONE('o') }, openline, { .i = MOVE_LINE_NEXT } },
+ { { NONE('O') }, openline, { .i = MOVE_LINE_PREV } },
{ { NONE('x') }, call, { .f = editor_delete_key } },
{ { NONE('r') }, replace, { NULL } },
{ { NONE('i') }, switchmode, { .i = VIS_MODE_INSERT } },