[ADD][ZSH] Command line editing using EDITOR
This commit is contained in:
parent
6f8d945ed3
commit
ac7ed4a49b
|
@ -34,6 +34,12 @@ 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
|
||||
|
||||
# Completion configuration
|
||||
zstyle :compinstall filename '/home/ambroisie/.zshrc'
|
||||
autoload -Uz compinit
|
||||
|
|
Loading…
Reference in a new issue