From b01e6816cccea22fa996d5d6766ef959d3d0c496 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 7 Sep 2018 11:57:54 +0200 Subject: [zsh] Add binding for vi-edit-cmd --- zsh/.zshrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'zsh/.zshrc') 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 {{{ -- cgit v1.2.3