vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 5d8e0d6d2a78e7089359570b69c1cfd325d72f4d parent 8b1b3144600923e05f7bc121f76e73fedd3bb10a Author: striker.sh <strikersh@disroot.org> Date: Tue, 23 Mar 2021 12:07:27 +0100 vis: Add readline Ctrl+A/E bindings Diffstat:
| M | config.def.h | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/config.def.h b/config.def.h @@ -285,6 +285,8 @@ static const KeyBinding bindings_readline[] = { { "<C-u>", ACTION(DELETE_LINE_BEGIN) }, { "<C-v>", ACTION(INSERT_VERBATIM) }, { "<C-w>", ACTION(DELETE_WORD_PREV) }, + { "<C-e>", ACTION(CURSOR_LINE_END) }, + { "<C-a>", ACTION(CURSOR_LINE_START) }, { "<Delete>", ACTION(DELETE_CHAR_NEXT) }, { "<Escape>", ACTION(MODE_NORMAL) }, { 0 /* empty last element, array terminator */ },