From aa3948409ade9064d90f3e60af5201da83b097d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 11 Sep 2014 09:41:47 +0200 Subject: On the prompt Ctrl-{B,E} should move the cursor to the begin/end of the line --- config.def.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.def.h') 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 */ }, }; -- cgit v1.2.3