Update installation instruction

pull/133/head
Junegunn Choi 9 years ago
parent 6c2ce28d0d
commit 1b5599972a

@ -11,6 +11,20 @@ the likes.
Installation Installation
------------ ------------
fzf project consists of the followings:
- `fzf` executable
- Shell extensions
- Key bindings (`CTRL-T`, `CTRL-R`, and `ALT-C`) (bash, zsh, fish)
- Fuzzy auto-completion (bash)
You can [download fzf executable][bin] alone, but it's recommended that you
install the extra stuff using the attached install script.
[bin]: https://github.com/junegunn/fzf-bin/releases
### Using git (recommended)
Clone this repository and run Clone this repository and run
[install](https://github.com/junegunn/fzf/blob/master/install) script. [install](https://github.com/junegunn/fzf/blob/master/install) script.
@ -19,6 +33,8 @@ git clone https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install ~/.fzf/install
``` ```
### Using curl
In case you don't have git installed: In case you don't have git installed:
```sh ```sh
@ -28,15 +44,16 @@ curl -L https://github.com/junegunn/fzf/archive/master.tar.gz |
~/.fzf/install ~/.fzf/install
``` ```
The script will setup: ### Using Homebrew
On OS X, you can use [Homebrew](http://brew.sh/) to install fzf.
- `fzf` command ```sh
- Key bindings (`CTRL-T`, `CTRL-R`, and `ALT-C`) (bash, zsh, fish) brew install fzf
- Fuzzy auto-completion (bash)
If you don't need the extra goodies, you can simply download # Install shell extensions
[fzf executable](https://github.com/junegunn/fzf-bin/releases) /usr/local/Cellar/fzf/0.9.2/install
and place it in a directory included in `$PATH`. ```
### Install as Vim plugin ### Install as Vim plugin
@ -46,8 +63,7 @@ Once you have cloned the repository, add the following line to your .vimrc.
set rtp+=~/.fzf set rtp+=~/.fzf
``` ```
Or you may use [vim-plug](https://github.com/junegunn/vim-plug) to manage fzf Or you can have [vim-plug](https://github.com/junegunn/vim-plug) manage fzf:
inside Vim:
```vim ```vim
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': 'yes \| ./install' } Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': 'yes \| ./install' }

Loading…
Cancel
Save