feat(zsh/keybinds): Add keybinds for history search and autosuggestions

This commit is contained in:
Jiří Štefka 2024-12-10 04:18:36 +01:00
parent 93853fe1ef
commit 48db707a06
Signed by: jiriks74
GPG key ID: 1D5E30D3DB2264DE

View file

@ -99,6 +99,12 @@
fi fi
bindkey '^ ' autosuggest-accept # Bind CTRL + Space bindkey '^ ' autosuggest-accept # Bind CTRL + Space
bindkey '^Y' autosuggest-accept # Bind CTRL + Y
bindkey "$terminfo[kcuu1]" history-substring-search-up
bindkey "$terminfo[kcud1]" history-substring-search-down
bindkey -M vicmd 'k' history-substring-search-up
bindkey -M vicmd 'j' history-substring-search-down
# Extracting # Extracting
ex () ex ()