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
1dd256a6
Unverified
Commit
1dd256a6
authored
5 years ago
by
Junegunn Choi
Browse files
Options
Downloads
Patches
Plain Diff
Update README-VIM
parent
85644aa3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README-VIM.md
+12
-6
12 additions, 6 deletions
README-VIM.md
doc/fzf.txt
+12
-6
12 additions, 6 deletions
doc/fzf.txt
with
24 additions
and
12 deletions
README-VIM.md
+
12
−
6
View file @
1dd256a6
...
...
@@ -273,7 +273,7 @@ The latest versions of Vim and Neovim include builtin terminal emulator
-
On Neovim
-
On GVim
-
On Terminal Vim with
the
non-default layout
-
On Terminal Vim with
a
non-default layout
-
`call fzf#run({'left': '30%'})`
or
`let g:fzf_layout = {'left': '30%'}`
#### Starting fzf in Neovim floating window
...
...
@@ -303,13 +303,19 @@ endif
#### Hide statusline
When fzf starts in a terminal buffer, you may want to hide the statusline of
the containing buffer.
When fzf starts in a terminal buffer, the file type of the buffer is set to
`fzf`
. So you can set up
`FileType fzf`
autocmd to customize the settings of
the window.
For example, if you use the default layout (
`{'down': '~40%'}`
) on Neovim, you
might want to temporarily disable the statusline for a cleaner look.
```
vim
autocmd
!
FileType
fzf
autocmd
FileType
fzf
set
laststatus
=
0
noshowmode
noruler
\
|
autocmd
BufLeave
<
buffer
>
set
laststatus
=
2
showmode
ruler
if
has
(
'nvim'
)
&&
!
exists
(
'g:fzf_layout'
)
autocmd
!
FileType
fzf
autocmd
FileType
fzf
set
laststatus
=
0
noshowmode
noruler
\
|
autocmd
BufLeave
<
buffer
>
set
laststatus
=
2
showmode
ruler
endif
```
[License](LICENSE)
...
...
This diff is collapsed.
Click to expand it.
doc/fzf.txt
+
12
−
6
View file @
1dd256a6
...
...
@@ -287,7 +287,7 @@ The latest versions of Vim and Neovim include builtin terminal emulator
- On Neovim
- On GVim
- On Terminal Vim with
the
non-default layout
- On Terminal Vim with
a
non-default layout
- `call fzf#run({'left': '30%'})` or `let g:fzf_layout = {'left': '30%'}`
...
...
@@ -319,12 +319,18 @@ Starting fzf in Neovim floating window~
Hide statusline~
*fzf-hide-statusline*
When fzf starts in a terminal buffer, you may want to hide the statusline of
the containing buffer.
When fzf starts in a terminal buffer, the file type of the buffer is set to
`fzf`. So you can set up `FileType fzf` autocmd to customize the settings of
the window.
For example, if you use the default layout (`{'down': '~40%'}`) on Neovim, you
might want to temporarily disable the statusline for a cleaner look.
>
autocmd! FileType fzf
autocmd FileType fzf set laststatus=0 noshowmode noruler
\| autocmd BufLeave <buffer> set laststatus=2 showmode ruler
if has('nvim') && !exists('g:fzf_layout')
autocmd! FileType fzf
autocmd FileType fzf set laststatus=0 noshowmode noruler
\| autocmd BufLeave <buffer> set laststatus=2 showmode ruler
endif
<
LICENSE *fzf-license*
...
...
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