add zsh autosuggestions

This commit is contained in:
Václav Uruba 2021-04-27 14:57:19 +02:00
parent 318f6636cd
commit 60e673f475
Signed by: uruba
GPG Key ID: 0059B34D61727BB0
3 changed files with 5 additions and 0 deletions

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "zsh/.config/zsh/plugins/fast-syntax-highlighting"]
path = zsh/.config/zsh/plugins/fast-syntax-highlighting
url = https://github.com/zdharma/fast-syntax-highlighting.git
[submodule "zsh/.config/zsh/plugins/zsh-autosuggestions"]
path = zsh/.config/zsh/plugins/zsh-autosuggestions
url = https://github.com/zsh-users/zsh-autosuggestions

@ -0,0 +1 @@
Subproject commit ae315ded4dba10685dbbafbfa2ff3c1aefeb490d

View File

@ -29,6 +29,7 @@ source $HOME/.config/.aliases.local
source $HOME/.config/zsh/key-bindings.zsh
source $HOME/.config/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
source $HOME/.config/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh
bindkey "^[[H" beginning-of-line
bindkey "^[[4~" end-of-line