changeset 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 679c3a5464d7
children 594116f4000e
files dot_zshrc
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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