aboutsummaryrefslogtreecommitdiff
path: root/key-binding.h
diff options
context:
space:
mode:
authorAdrian fxj9a <af24@tuta.io>2025-03-03 13:27:30 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-03-05 07:48:23 +0000
commit6d39f66eb7c0cafb9e12be7da6831598c6dd4afb (patch)
tree3ca3de19f31f8c2c205216ab2e275c41f2d2aff2 /key-binding.h
parentterm: reset the grapheme clustering state on cursor movements (diff)
config: add search-bindings.delete-to-{start,end} key bindings
Defaults to ctrl+u and ctrl+k respectively. Closes #1972
Diffstat (limited to 'key-binding.h')
-rw-r--r--key-binding.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/key-binding.h b/key-binding.h
index 5f5bb9d7..89398859 100644
--- a/key-binding.h
+++ b/key-binding.h
@@ -84,6 +84,8 @@ enum bind_action_search {
BIND_ACTION_SEARCH_DELETE_PREV_WORD,
BIND_ACTION_SEARCH_DELETE_NEXT,
BIND_ACTION_SEARCH_DELETE_NEXT_WORD,
+ BIND_ACTION_SEARCH_DELETE_TO_START,
+ BIND_ACTION_SEARCH_DELETE_TO_END,
BIND_ACTION_SEARCH_EXTEND_CHAR,
BIND_ACTION_SEARCH_EXTEND_WORD,
BIND_ACTION_SEARCH_EXTEND_WORD_WS,