add ctrl+{backspace,del} to terminal

This commit is contained in:
azpsen 2024-02-07 09:28:13 -06:00
parent ada8bee31e
commit 562e142eef
2 changed files with 13 additions and 0 deletions

View File

@ -49,6 +49,13 @@ export NNN_FCOLORS="AAAAE631BBBBCCCCDDDD9999" # feel free to change the colors
export NNN_PLUG='p:preview-tui' # many other plugins are available here: https://github.com/jarun/nnn/tree/master/plugins
export SPLIT='v' # to split Kitty vertically
# -------- #
# keybinds #
# -------- #
bind '"\C-H": backward-kill-word'
bind '"\e[3;5~": kill-word'
# ------- #
# startup #
# ------- #

View File

@ -2260,6 +2260,12 @@ shell_integration enabled
#: Miscellaneous {{{
#: Delete previous word
map control+backspace send_text all \x17
#: Delete next word
# map control+delete send_text all \x05
#: Show documentation
# map kitty_mod+f1 show_kitty_doc overview