Update instruction to hide statusline of terminal buffer

This commit is contained in:
Junegunn Choi 2017-11-19 12:14:40 +09:00
parent be8aa32b1e
commit ba7a22888b
No known key found for this signature in database
GPG key ID: 254BC280FEF9C627
2 changed files with 6 additions and 8 deletions

View file

@ -287,10 +287,9 @@ may want to customize the statusline of the containing buffer.
### Hide statusline
```vim
if has('nvim') || has('gui_running')
autocmd! FileType fzf
autocmd FileType fzf set laststatus=0 | autocmd BufLeave <buffer> set laststatus=2
endif
autocmd FileType fzf set laststatus=0 noshowmode noruler
\| autocmd BufLeave <buffer> set laststatus=2 showmode ruler
```
### Custom statusline

View file

@ -333,10 +333,9 @@ want to customize the statusline of the containing buffer.
< Hide statusline >___________________________________________________________~
*fzf-vim-hide-statusline*
>
if has('nvim') || has('gui_running')
autocmd! FileType fzf
autocmd FileType fzf set laststatus=0 | autocmd BufLeave <buffer> set laststatus=2
endif
autocmd FileType fzf set laststatus=0 noshowmode noruler
\| autocmd BufLeave <buffer> set laststatus=2 showmode ruler
<
< Custom statusline >_________________________________________________________~