aboutsummaryrefslogtreecommitdiff
path: root/Shell
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-05-24 00:42:15 +0100
committerdx <aryadevchavali1@gmail.com>2020-05-24 00:42:15 +0100
commiteac3c9e4dd7a709db9fb92f493f4b6e7732af663 (patch)
tree15654aca036e0ef01f333519877ac1ef266aa368 /Shell
parente059f06942e4fba19b513b8f806f59d0eea14d45 (diff)
downloaddotfiles-eac3c9e4dd7a709db9fb92f493f4b6e7732af663.tar.gz
dotfiles-eac3c9e4dd7a709db9fb92f493f4b6e7732af663.tar.bz2
dotfiles-eac3c9e4dd7a709db9fb92f493f4b6e7732af663.zip
+C-x C-e bind to zsh to edit command line
Diffstat (limited to 'Shell')
-rw-r--r--Shell/.zshrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/Shell/.zshrc b/Shell/.zshrc
index e0c0a11..7a54586 100644
--- a/Shell/.zshrc
+++ b/Shell/.zshrc
@@ -44,6 +44,9 @@ zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,'
## Vim binds
bindkey -v
+autoload -z edit-command-line
+zle -N edit-command-line
+bindkey "^X^E" edit-command-line
# Menu
bindkey -M menuselect 'h' vi-backward-char
bindkey -M menuselect 'j' vi-up-line-or-history