Customizable statusline

Close #32
This commit is contained in:
Junegunn Choi
2015-10-31 00:33:06 +09:00
parent df65943036
commit 0e995e1913
2 changed files with 31 additions and 11 deletions

View File

@@ -173,6 +173,21 @@ inoremap <expr> <c-x><c-s> fzf#complete({
\ 'left': 20})
```
Status line (neovim)
--------------------
```vim
function! s:fzf_statusline()
" Override statusline as you like
highlight fzf1 ctermfg=161 ctermbg=251
highlight fzf2 ctermfg=23 ctermbg=251
highlight fzf3 ctermfg=237 ctermbg=251
setlocal statusline=%#fzf1#\ >\ %#fzf2#fz%#fzf3#f
endfunction
autocmd! User FzfStatusLine call <SID>fzf_statusline()
```
License
-------