You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
12 years ago | |
---|---|---|
.gitignore | 12 years ago | |
LICENSE-MIT | 12 years ago | |
README.mkd | 12 years ago | |
autosuggestions.zsh | 12 years ago | |
completion-client.zsh | 12 years ago | |
completion-server-init.zsh | 12 years ago | |
completion-server.zsh | 12 years ago |
README.mkd
zsh-autosuggestions
Fish-like fast/unobtrusive autosuggestions for zsh. Shelr demo.
Installation
git clone git://github.com/tarruda/zsh-autosuggestions ~/.zsh-autosuggestions
cat >> ~/.zshrc << "EOF"
source ~/.zsh-autosuggestions/autosuggestions.zsh
# Enable autosuggestions automatically
zle-line-init() {
zle autosuggest-start
}
zle -N zle-line-init
# use ctrl+t to toggle autosuggestions(hopefully this wont be needed)
bindkey '^T' autosuggest-toggle
# use ctrl+f to accept a suggested word
bindkey '^F' autosuggest-accept-suggested-word
EOF