瀏覽代碼

Merge pull request #16 from piecioshka/master

Create automatic command for plugin setup
pull/31/head
Thiago de Arruda 10 年之前
父節點
當前提交
bd11c34e84
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. +6
    -2
      README.mkd

+ 6
- 2
README.mkd 查看文件

@ -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...)

Loading…
取消
儲存