feat(search): add delete-to-start and delete-to-end keybindings

with ctrl+u and ctrl+k respectively

Ref: #1972
This commit is contained in:
Adrian fxj9a 2025-03-03 14:27:30 +01:00
parent 882f4b2468
commit 41c3d1834c
No known key found for this signature in database
GPG key ID: FA1E6994A87D434E
4 changed files with 35 additions and 0 deletions

View file

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