diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 29425d3..1f24c5a 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -143,6 +143,10 @@ bindkey " " globalias bindkey "^ " magic-space # control-space to bypass completion bindkey -M isearch " " magic-space # normal space during searches +# allow inserting previous arguments in the current zle input +# see https://stackoverflow.com/a/34861762 +bindkey "^[." insert-last-word + # VIM MODE for the shell # enable vim mode on pressing escape bindkey -v