aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-11 09:41:47 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-11 09:41:47 +0200
commitaa3948409ade9064d90f3e60af5201da83b097d7 (patch)
tree43c21e2f4539b33b88ed19fc0438fccccd600721 /config.def.h
parentd9fba9df3c9c3670a466c1356426d07da8254416 (diff)
downloadvis-aa3948409ade9064d90f3e60af5201da83b097d7.tar.gz
vis-aa3948409ade9064d90f3e60af5201da83b097d7.tar.xz
On the prompt Ctrl-{B,E} should move the cursor to the begin/end of the line
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 a9dad5a..c7696ca 100644
--- a/config.def.h
+++ b/config.def.h
@@ -399,7 +399,9 @@ static KeyBinding vis_prompt_mode[] = {
{ { KEY(UP) }, prompt_up, { NULL } },
{ { KEY(DOWN) }, prompt_down, { NULL } },
{ { KEY(HOME) }, movement, { .i = MOVE_FILE_BEGIN } },
+ { { CONTROL('B') }, movement, { .i = MOVE_FILE_BEGIN } },
{ { KEY(END) }, movement, { .i = MOVE_FILE_END } },
+ { { CONTROL('E') }, movement, { .i = MOVE_FILE_END } },
{ /* empty last element, array terminator */ },
};