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
79f645aa
Commit
79f645aa
authored
11 years ago
by
Junegunn Choi
Browse files
Options
Downloads
Patches
Plain Diff
Update README
parent
42d479d0
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
+38
-38
38 additions, 38 deletions
README.md
with
38 additions
and
38 deletions
README.md
+
38
−
38
View file @
79f645aa
...
...
@@ -117,44 +117,6 @@ such as: `^music .mp3$ sbtrkt !rmx`
|
`'wild`
| Items that include
`wild`
| exact-match (quoted) |
|
`!'fire`
| Items that do not include
`fire`
| inverse-exact-match |
Usage as Vim plugin
-------------------
If you install fzf as a Vim plugin,
`:FZF`
command will be added.
```
vim
" Look for files under current directory
:
FZF
" Look for files under your home directory
:
FZF
~
" With options
:
FZF
--
no
-
sort
-
m
/tmp
```
You can override the source command which produces input to fzf.
```
vim
let
g:fzf_source
=
'find . -type f'
```
And you can predefine default options to fzf command.
```
vim
let
g:fzf_options
=
'--no-color --extended'
```
For more advanced uses, you can call
`fzf#run`
function as follows.
```
vim
:
call
fzf#run
(
'tabedit'
,
'-m +c'
)
```
Most of the time, you will prefer native Vim plugins with better integration
with Vim. The only reason one might consider using fzf in Vim is its speed. For
a very large list of files, fzf is significantly faster and it does not block.
Useful examples
---------------
...
...
@@ -330,6 +292,44 @@ TODO :smiley:
(Pull requests are appreciated.)
Usage as Vim plugin
-------------------
If you install fzf as a Vim plugin,
`:FZF`
command will be added.
```
vim
" Look for files under current directory
:
FZF
" Look for files under your home directory
:
FZF
~
" With options
:
FZF
--
no
-
sort
-
m
/tmp
```
You can override the source command which produces input to fzf.
```
vim
let
g:fzf_source
=
'find . -type f'
```
And you can predefine default options to fzf command.
```
vim
let
g:fzf_options
=
'--no-color --extended'
```
For more advanced uses, you can call
`fzf#run`
function as follows.
```
vim
:
call
fzf#run
(
'tabedit'
,
'-m +c'
)
```
Most of the time, you will prefer native Vim plugins with better integration
with Vim. The only reason one might consider using fzf in Vim is its speed. For
a very large list of files, fzf is significantly faster and it does not block.
Tips
----
...
...
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