diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2025-06-14 17:21:32 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2025-06-14 17:21:32 -0400 |
| commit | 04e99fb04e5888bf7af6a3384d420bd35e1bf8a5 (patch) | |
| tree | a7e19bb551451902f50799f831027f71544fe139 | |
| parent | 3d94debbc557bcc0782e1a5bb5aa4db5d5426120 (diff) | |
Add bind to open EDITOR to zsh
| -rw-r--r-- | zsh/zshvimodes | 5 |
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 |
