[vim] More explanation on 'set rtp+=~/.fzf' instruction

Close #3171
pull/3215/head
Junegunn Choi 1 year ago
parent 69c52099e7
commit a874aea692
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -15,7 +15,7 @@ set rtp+=/usr/local/opt/fzf
" If installed using Homebrew on Apple Silicon " If installed using Homebrew on Apple Silicon
set rtp+=/opt/homebrew/opt/fzf set rtp+=/opt/homebrew/opt/fzf
" If installed using git " If you have cloned fzf on ~/.fzf directory
set rtp+=~/.fzf set rtp+=~/.fzf
``` ```
@ -26,7 +26,7 @@ written as:
" If installed using Homebrew " If installed using Homebrew
Plug '/usr/local/opt/fzf' Plug '/usr/local/opt/fzf'
" If installed using git " If you have cloned fzf on ~/.fzf directory
Plug '~/.fzf' Plug '~/.fzf'
``` ```

@ -1,4 +1,4 @@
fzf.txt fzf Last change: May 19 2021 fzf.txt fzf Last change: Mar 20 2023
FZF - TABLE OF CONTENTS *fzf* *fzf-toc* FZF - TABLE OF CONTENTS *fzf* *fzf-toc*
============================================================================== ==============================================================================
@ -32,7 +32,7 @@ depending on the package manager.
" If installed using Homebrew " If installed using Homebrew
set rtp+=/usr/local/opt/fzf set rtp+=/usr/local/opt/fzf
" If installed using git " If you have cloned fzf on ~/.fzf directory
set rtp+=~/.fzf set rtp+=~/.fzf
< <
If you use {vim-plug}{1}, the same can be written as: If you use {vim-plug}{1}, the same can be written as:
@ -40,7 +40,7 @@ If you use {vim-plug}{1}, the same can be written as:
" If installed using Homebrew " If installed using Homebrew
Plug '/usr/local/opt/fzf' Plug '/usr/local/opt/fzf'
" If installed using git " If you have cloned fzf on ~/.fzf directory
Plug '~/.fzf' Plug '~/.fzf'
< <
But if you want the latest Vim plugin file from GitHub rather than the one But if you want the latest Vim plugin file from GitHub rather than the one

Loading…
Cancel
Save