Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fzf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KMSCAKKSCFKA AKFACAMADCAS
fzf
Commits
6b27554c
Unverified
Commit
6b27554c
authored
7 years ago
by
Junegunn Choi
Browse files
Options
Downloads
Patches
Plain Diff
Clarify installation instructions
parent
fc1b1191
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+33
-17
33 additions, 17 deletions
README.md
with
33 additions
and
17 deletions
README.md
+
33
−
17
View file @
6b27554c
...
...
@@ -23,8 +23,8 @@ Table of Contents
-----------------
*
[
Installation
](
#installation
)
*
[
Using git
](
#using-git
)
*
[
Using Homebrew or Linuxbrew
](
#using-homebrew-or-linuxbrew
)
*
[
Using git
](
#using-git
)
*
[
As Vim plugin
](
#as-vim-plugin
)
*
[
Fedora
](
#fedora
)
*
[
Windows
](
#windows
)
...
...
@@ -74,20 +74,10 @@ stuff.
[
bin
]:
https://github.com/junegunn/fzf-bin/releases
### Using git
Clone this repository and run
[
install
](
https://github.com/junegunn/fzf/blob/master/install
)
script.
```
sh
git clone
--depth
1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
```
### Using Homebrew or Linuxbrew
Alternatively, y
ou can use
[
Homebrew
](
http://brew.sh/
)
or
[
Linuxbrew
](
http://linuxbrew.sh/
)
to install fzf.
Y
ou can use
[
Homebrew
](
http://brew.sh/
)
or
[
Linuxbrew
](
http://linuxbrew.sh/
)
to install fzf.
```
sh
brew
install
fzf
...
...
@@ -96,23 +86,49 @@ brew install fzf
$(
brew
--prefix
)
/opt/fzf/install
```
### Using git
Alternatively, you can "git clone" this repository to any directory and run
[
install
](
https://github.com/junegunn/fzf/blob/master/install
)
script.
```
sh
git clone
--depth
1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
```
### As Vim plugin
You can manually add the directory to
`&runtimepath`
as follows,
Once you have fzf installed, you can enable it inside Vim simply by adding the
directory to
`&runtimepath`
as follows:
```
vim
" If installed using Homebrew
set
rtp
+=
/usr/
local
/opt/
fzf
" If installed using git
set
rtp
+=~
/
.
fzf
```
If you use
[
vim-plug
](
https://github.com/junegunn/vim-plug
)
, the same can be
written as:
```
vim
" If installed using Homebrew
set
rtp
+=
/usr/
local
/opt/
fzf
Plug
'/usr/local/opt/fzf'
" If installed using git
Plug
'~/.fzf'
```
But it's recommended that you use a plugin manager like
[
vim-plug
](
https://github.com/junegunn/vim-plug
)
.
But instead of separately installing fzf on your system (using Homebrew or
"git clone") and enabling it on Vim (adding it to
`&runtimepath`
), you can use
vim-plug to do both.
```
vim
" PlugInstall and PlugUpdate will clone fzf in ~/.fzf and run install script
Plug
'junegunn/fzf'
,
{
'dir'
:
'~/.fzf'
,
'do'
:
'./install --all'
}
" Both options are optional. You don't have to install fzf in ~/.fzf
" and you don't have to run install script if you use fzf only in Vim.
```
### Fedora
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment