comparison dot_zshrc @ 780:288467474cb2

fix: remap insert-last-word to ^g
author Zeger Van de Vannet <zegervdv@me.com>
date Mon, 24 Apr 2023 13:36:04 +0200
parents 653d00923944
children 90ebb41f9b14
comparison
equal deleted inserted replaced
779:15d2d492f1db 780:288467474cb2
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 '^k' insert-last-word 365 bindkey '^g' 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() {