vim:zsh-autosuggestions: Set suggestions strategy

This commit is contained in:
2021-07-09 23:53:50 +02:00
parent ec94e7ebdd
commit f2c84fe82c

View File

@@ -0,0 +1,10 @@
# Set suggestions strategy
# match_prev_cmd:
# Chooses the most recent match from history whose preceding item matches
# the most recently executed command.
# Won't work as expected with HIST_IGNORE_ALL_DUPS or HIST_EXPIRE_DUPS_FIRST
# completion:
# Chooses a suggestion based on what tab-completion would suggest.
ZSH_AUTOSUGGEST_STRATEGY=(match_prev_cmd completion)
# vim: ft=zsh