add ctrl+{backspace,del} to terminal
This commit is contained in:
parent
ada8bee31e
commit
562e142eef
7
.bashrc
7
.bashrc
@ -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 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
|
export SPLIT='v' # to split Kitty vertically
|
||||||
|
|
||||||
|
# -------- #
|
||||||
|
# keybinds #
|
||||||
|
# -------- #
|
||||||
|
|
||||||
|
bind '"\C-H": backward-kill-word'
|
||||||
|
bind '"\e[3;5~": kill-word'
|
||||||
|
|
||||||
# ------- #
|
# ------- #
|
||||||
# startup #
|
# startup #
|
||||||
# ------- #
|
# ------- #
|
||||||
|
@ -2260,6 +2260,12 @@ shell_integration enabled
|
|||||||
|
|
||||||
#: Miscellaneous {{{
|
#: Miscellaneous {{{
|
||||||
|
|
||||||
|
#: Delete previous word
|
||||||
|
map control+backspace send_text all \x17
|
||||||
|
|
||||||
|
#: Delete next word
|
||||||
|
# map control+delete send_text all \x05
|
||||||
|
|
||||||
#: Show documentation
|
#: Show documentation
|
||||||
|
|
||||||
# map kitty_mod+f1 show_kitty_doc overview
|
# map kitty_mod+f1 show_kitty_doc overview
|
||||||
|
Loading…
x
Reference in New Issue
Block a user