diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2015-02-17 13:15:16 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-02-17 13:15:16 +0900 |
commit | 1b5599972abb1ca4d1498ec1dfe9bc041f8d238a (patch) | |
tree | b229e16928a6b4a96703ed7ddc1f4009ceb4e91b | |
parent | 6c2ce28d0dca357195d267406b90e705c35312d5 (diff) |
Update installation instruction
-rw-r--r-- | README.md | 34 |
1 files changed, 25 insertions, 9 deletions
@@ -11,6 +11,20 @@ the likes. 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 [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 ``` +### Using curl + In case you don't have git installed: ```sh @@ -28,15 +44,16 @@ curl -L https://github.com/junegunn/fzf/archive/master.tar.gz | ~/.fzf/install ``` -The script will setup: +### Using Homebrew + +On OS X, you can use [Homebrew](http://brew.sh/) to install fzf. -- `fzf` command -- Key bindings (`CTRL-T`, `CTRL-R`, and `ALT-C`) (bash, zsh, fish) -- Fuzzy auto-completion (bash) +```sh +brew install fzf -If you don't need the extra goodies, you can simply download -[fzf executable](https://github.com/junegunn/fzf-bin/releases) -and place it in a directory included in `$PATH`. +# Install shell extensions +/usr/local/Cellar/fzf/0.9.2/install +``` ### Install as Vim plugin @@ -46,8 +63,7 @@ Once you have cloned the repository, add the following line to your .vimrc. set rtp+=~/.fzf ``` -Or you may use [vim-plug](https://github.com/junegunn/vim-plug) to manage fzf -inside Vim: +Or you can have [vim-plug](https://github.com/junegunn/vim-plug) manage fzf: ```vim Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': 'yes \| ./install' } |