aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/zshvimodes
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/zshvimodes')
-rw-r--r--zsh/zshvimodes5
1 files changed, 5 insertions, 0 deletions
diff --git a/zsh/zshvimodes b/zsh/zshvimodes
index ab60972..02e9756 100644
--- a/zsh/zshvimodes
+++ b/zsh/zshvimodes
@@ -21,3 +21,8 @@ function TRAPINT() {
vim_mode=$vim_ins_mode
return $(( 128 + $1 ))
}
+
+# Use C-e to open editor with current command line
+autoload edit-command-line
+zle -N edit-command-line
+bindkey '^e' edit-command-line