Mercurial > dotfiles
comparison 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 |
comparison
equal
deleted
inserted
replaced
706:679c3a5464d7 | 707:b3c74bd6e485 |
---|---|
306 | 306 |
307 bindkey '^f' autosuggest-accept | 307 bindkey '^f' autosuggest-accept |
308 | 308 |
309 zle -N unix-word-rubout | 309 zle -N unix-word-rubout |
310 bindkey '^w' unix-word-rubout | 310 bindkey '^w' unix-word-rubout |
311 bindkey '^.' insert-last-word | |
311 } | 312 } |
312 | 313 |
313 zsh-defer source ~/.zsh/zsh-vi-mode.zsh | 314 zsh-defer source ~/.zsh/zsh-vi-mode.zsh |
314 | 315 |
315 _zsh_autosuggest_strategy_histdb_top_here() { | 316 _zsh_autosuggest_strategy_histdb_top_here() { |