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
d717096e
Commit
d717096e
authored
11 years ago
by
Junegunn Choi
Browse files
Options
Downloads
Patches
Plain Diff
Update README
parent
1629fe07
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
+7
-7
7 additions, 7 deletions
README.md
with
7 additions
and
7 deletions
README.md
+
7
−
7
View file @
d717096e
...
...
@@ -51,12 +51,8 @@ takes slightly longer to start.
### Install as Vim plugin
fzf was not designed to be a Vim plugin, but you can use it as one. The only
reason one might consider using fzf in Vim is its speed. For a very large list
of files, fzf is significantly faster than native Vim plugins.
You can use any Vim plugin manager to install fzf as a Vim plugin. If you don't
use one, I recommend you try
[
vim-plug
](
https://github.com/junegunn/vim-plug
)
.
You can use any Vim plugin manager to install fzf for Vim. If you don't use one,
I recommend you try
[
vim-plug
](
https://github.com/junegunn/vim-plug
)
.
1.
[
Install vim-plug
](
https://github.com/junegunn/vim-plug#usage
)
2.
Edit your .vimrc
...
...
@@ -128,6 +124,10 @@ You can override the command which produces input to fzf.
let
g:fzf_command
=
'find . -type f'
```
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 bash examples
--------------------
...
...
@@ -157,7 +157,7 @@ fkill() {
ps
-ef
|
sed
1d | fzf |
awk
'{print $2}'
| xargs
kill
-
${
1
:-
9
}
}
# Assuming you don't use the default CTRL-T and CTRL-R
#
(
Assuming you don't use the default CTRL-T and CTRL-R
)
# CTRL-T - Paste the selected file path into the command line
bind
'"\er": redraw-current-line'
...
...
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