Add edit mode to zsh command line
This commit is contained in:
parent
337df78954
commit
0591593c7b
1 changed files with 4 additions and 0 deletions
4
zshrc
4
zshrc
|
@ -16,6 +16,10 @@ setopt hist_find_no_dups
|
||||||
setopt prompt_subst
|
setopt prompt_subst
|
||||||
setopt hist_ignore_space
|
setopt hist_ignore_space
|
||||||
|
|
||||||
|
autoload -z edit-command-line
|
||||||
|
zle -N edit-command-line
|
||||||
|
bindkey -M vicmd '\' edit-command-line
|
||||||
|
|
||||||
autoload -U compinit; compinit
|
autoload -U compinit; compinit
|
||||||
|
|
||||||
bindkey -v
|
bindkey -v
|
||||||
|
|
Loading…
Reference in a new issue