feat(zsh/keybinds): Add keybinds for history search and autosuggestions
This commit is contained in:
parent
93853fe1ef
commit
48db707a06
1 changed files with 6 additions and 0 deletions
6
zsh.nix
6
zsh.nix
|
@ -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 ()
|
||||||
|
|
Loading…
Reference in a new issue