27 lines
482 B
Bash
27 lines
482 B
Bash
### ctrl+arrows
|
|
bindkey "\e[1;5C" forward-word
|
|
bindkey "\e[1;5D" backward-word
|
|
# urxvt
|
|
bindkey "\eOc" forward-word
|
|
bindkey "\eOd" backward-word
|
|
|
|
### ctrl+delete
|
|
bindkey "\e[3;5~" kill-word
|
|
# urxvt
|
|
bindkey "\e[3^" kill-word
|
|
|
|
### ctrl+backspace
|
|
bindkey '^H' backward-kill-word
|
|
|
|
### ctrl+shift+delete
|
|
bindkey "\e[3;6~" kill-line
|
|
# urxvt
|
|
bindkey "\e[3@" kill-line
|
|
|
|
# Home and end
|
|
bindkey "^[[H" beginning-of-line
|
|
bindkey "^[[F" end-of-line
|
|
|
|
# Delete
|
|
bindkey "^[[3~" delete-char
|