diff dot_zshrc @ 707:b3c74bd6e485

feat: add keybind to insert last word of previous command
author zegervdv <zegervdv@me.com>
date Mon, 24 Oct 2022 12:06:13 +0000
parents 306ac9429043
children 0a59c00d64d9
line wrap: on
line diff
--- a/dot_zshrc	Sun Oct 23 11:30:22 2022 +0200
+++ b/dot_zshrc	Mon Oct 24 12:06:13 2022 +0000
@@ -308,6 +308,7 @@
 
   zle -N unix-word-rubout
   bindkey '^w' unix-word-rubout
+  bindkey '^.' insert-last-word
 }
 
 zsh-defer source ~/.zsh/zsh-vi-mode.zsh