From 84831a14920a9dbb67b994ae5baea2c41ea37aa8 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Sat, 30 Oct 2021 00:42:42 +0200 Subject: Bind _/C-a/$/C-e to go to row start/end Avoiding 0 because that's how you would write a zero in edit mode. --- hex.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hex.c b/hex.c index 116544f..d92f6f8 100644 --- a/hex.c +++ b/hex.c @@ -1581,6 +1581,10 @@ g_default_bindings[] = { "Home", ACTION_ROW_START, {}}, { "End", ACTION_ROW_END, {}}, + { "C-a", ACTION_ROW_START, {}}, + { "C-e", ACTION_ROW_END, {}}, + { "_", ACTION_ROW_START, {}}, + { "$", ACTION_ROW_END, {}}, { "M-<", ACTION_GOTO_TOP, {}}, { "M->", ACTION_GOTO_BOTTOM, {}}, { "g", ACTION_GOTO_TOP, {}}, -- cgit v1.2.3-70-g09d2