Merge pull request #16 from piecioshka/master

Create automatic command for plugin setup
This commit is contained in:
Thiago de Arruda committed 2014-03-14 08:03:20 -02:00
commit bd11c34e84
1 file changed
+6 -2
+6 -2
View File
@@ -6,9 +6,11 @@
## Installation
```sh
git clone git://github.com/tarruda/zsh-autosuggestions ~/.zsh-autosuggestions
$ git clone git://github.com/tarruda/zsh-autosuggestions ~/.zsh-autosuggestions
cat >> ~/.zshrc << "EOF"
$ cat >> ~/.zshrc << "EOF"
# Setup zsh-autosuggestions
source ~/.zsh-autosuggestions/autosuggestions.zsh
# Enable autosuggestions automatically
@@ -20,6 +22,8 @@ zle -N zle-line-init
# use ctrl+t to toggle autosuggestions(hopefully this wont be needed as
# zsh-autosuggestions is designed to be unobtrusive)
bindkey '^T' autosuggest-toggle
EOF
```
Any widget that moves the cursor to the right(forward-word, forward-char...)