zsh:keys: Add edit binding and use Ctrl

Add binding that opens the current command in the editor.
Use Ctrl instead of Alt for shell bindings to be consistent.
This commit is contained in:
2020-10-24 18:54:24 +02:00
parent f311fc8a35
commit 6b7827dc2e

View File

@@ -42,7 +42,8 @@ function zle-line-finish {
} }
zle -N zle-line-finish zle -N zle-line-finish
bindkey '^[h' run-help bindkey '^H' run-help
bindkey '^E' edit-command-line
## Navigation ## Navigation
bindkey '^[[Z' reverse-menu-complete # shift-tab bindkey '^[[Z' reverse-menu-complete # shift-tab