summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshenv1
-rw-r--r--zsh/.zshrc4
2 files changed, 4 insertions, 1 deletions
diff --git a/zsh/.zshenv b/zsh/.zshenv
index b7e0f3e..5db58ac 100644
--- a/zsh/.zshenv
+++ b/zsh/.zshenv
@@ -9,6 +9,5 @@ export PYTHONSTARTUP="$HOME/.pythonrc"
# Source guix profile
guix_profile=$HOME/.guix-env
-
[[ -f $guix_profile ]] && . $guix_profile
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 {{{