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.
This commit is contained in:
Přemysl Eric Janouch 2021-10-30 00:42:42 +02:00
parent ada863925f
commit 84831a1492
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 4 additions and 0 deletions

4
hex.c
View File

@ -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, {}},