mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-06 12:44:24 +08:00
Simplify the installation instruction
This commit is contained in:
17
README.md
17
README.md
@@ -40,24 +40,15 @@ repository][fzf-main], which means you need to **set up both "fzf" and
|
||||
|
||||
### Using [vim-plug](https://github.com/junegunn/vim-plug)
|
||||
|
||||
If you already installed fzf using [Homebrew](https://brew.sh/), the following
|
||||
should suffice:
|
||||
|
||||
```vim
|
||||
Plug '/usr/local/opt/fzf'
|
||||
Plug 'junegunn/fzf'
|
||||
Plug 'junegunn/fzf.vim'
|
||||
```
|
||||
|
||||
But if you want to install fzf as well using vim-plug:
|
||||
|
||||
```vim
|
||||
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
|
||||
Plug 'junegunn/fzf.vim'
|
||||
```
|
||||
|
||||
- `dir` and `do` options are not mandatory
|
||||
- Use `./install --bin` instead if you don't need fzf outside of Vim
|
||||
- Make sure to use Vim 7.4 or above
|
||||
- If you have already installed fzf using [Homebrew](https://brew.sh/), and do
|
||||
not wish to have another copy on your system, replace the first line with
|
||||
`Plug '/usr/local/opt/fzf'`
|
||||
|
||||
Commands
|
||||
--------
|
||||
|
||||
Reference in New Issue
Block a user