dotfiles/home/private_dot_config/zsh/functions/executable_autosuggestions-keybinds

16 lines
359 B
Text
Raw Normal View History

2023-02-17 09:26:31 -06:00
##? Post load function for zsh-autosuggestions
# function autosuggestions-keybinds {
# https://github.com/zsh-users/zsh-autosuggestions
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=8'
if [[ -n "$key_info" ]]; then
# vi
bindkey -M viins "$key_info[Control]F" vi-forward-word
bindkey -M viins "$key_info[Control]E" vi-add-eol
fi
# }
# vim: ft=zsh sw=2 ts=2 et