summaryrefslogtreecommitdiff
path: root/dot_config/zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/zsh/zshrc')
-rw-r--r--dot_config/zsh/zshrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/dot_config/zsh/zshrc b/dot_config/zsh/zshrc
index cab9db9..0b56623 100644
--- a/dot_config/zsh/zshrc
+++ b/dot_config/zsh/zshrc
@@ -6,7 +6,13 @@ xzsource zshrc.pre
xzsource zshrc.{options,style}
### Bindings
+autoload -Uz edit-command-line elevate-cmd
+zle -N edit-command-line
+zle -N elevate-cmd
+
bindkey -e
+bindkey '^x^e' edit-command-line
+bindkey '^[s' elevate-cmd
### Functions, Aliases
## Command replacements