2021-05-29 21:19:51 +02:00
|
|
|
# Fix delete key not working
|
2021-02-19 22:31:07 +01:00
|
|
|
bindkey "\e[3~" delete-char
|
|
|
|
|
|
|
|
# Fix Ctrl+u killing from the cursor instead of the whole line
|
|
|
|
bindkey \^U backward-kill-line
|
|
|
|
|
|
|
|
# Use Ctrl+x-(Ctrl+)e to edit the current command line in VISUAL/EDITOR
|
|
|
|
autoload -U edit-command-line
|
|
|
|
zle -N edit-command-line
|
|
|
|
bindkey '^xe' edit-command-line
|
|
|
|
bindkey '^x^e' edit-command-line
|
|
|
|
|
|
|
|
# Enable Shift-Tab to go backwards in completion list
|
|
|
|
bindkey '^[[Z' reverse-menu-complete
|