|
@@ -17,9 +17,15 @@ function zle-keymap-select zle-line-init zle-line-finish {
|
|
|
zle -N zle-line-init
|
|
|
zle -N zle-line-finish
|
|
|
zle -N zle-keymap-select
|
|
|
+zle -N edit-command-line
|
|
|
+
|
|
|
|
|
|
bindkey -v
|
|
|
|
|
|
+# allow v to edit the command line (standard behaviour)
|
|
|
+autoload -Uz edit-command-line
|
|
|
+bindkey -M vicmd 'v' edit-command-line
|
|
|
+
|
|
|
# if mode indicator wasn't setup by theme, define default
|
|
|
if [[ "$MODE_INDICATOR" == "" ]]; then
|
|
|
MODE_INDICATOR="%{$fg_bold[red]%}<%{$fg[red]%}<<%{$reset_color%}"
|