summaryrefslogtreecommitdiff
path: root/zsh/.zshrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-09-07 11:57:54 +0200
committerUrbain Vaes <urbain@vaes.uk>2018-09-07 11:57:54 +0200
commitb01e6816cccea22fa996d5d6766ef959d3d0c496 (patch)
tree46733b8029a9d774920cbc14f301b01a12c9b97f /zsh/.zshrc
parent328351cd17242e439201d3c846baf37278a1565c (diff)
[zsh] Add binding for vi-edit-cmd
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r--zsh/.zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index bfb1dec..9b06a94 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -17,6 +17,10 @@ bindkey '^k' kill-line
bindkey '^u' kill-whole-line
bindkey '^v' visual-mode
bindkey '^w' backward-kill-word
+
+autoload -z edit-command-line
+zle -N edit-command-line
+bindkey -M vicmd '^W' edit-command-line
# }}}
## Options and modules {{{