comparison dot_zshrc @ 771:653d00923944

feat: bind last word to ^k
author zegervdv <zegervdv@me.com>
date Wed, 29 Mar 2023 14:29:20 +0000
parents 0f6f809f1d39
children 288467474cb2
comparison
equal deleted inserted replaced
770:9f4e4087e2e7 771:653d00923944
360 360
361 bindkey '^f' autosuggest-accept 361 bindkey '^f' autosuggest-accept
362 362
363 zle -N unix-word-rubout 363 zle -N unix-word-rubout
364 bindkey '^w' unix-word-rubout 364 bindkey '^w' unix-word-rubout
365 bindkey '^.' insert-last-word 365 bindkey '^k' insert-last-word
366 } 366 }
367 367
368 zsh-defer source ~/.zsh/zsh-vi-mode.zsh 368 zsh-defer source ~/.zsh/zsh-vi-mode.zsh
369 369
370 _zsh_autosuggest_strategy_histdb_top_here() { 370 _zsh_autosuggest_strategy_histdb_top_here() {