mirror of https://github.com/junegunn/fzf
[vim] Expose buffer variable with the current fzf setup (#828)
Exposing the `b:fzf` variable will be useful to get information about which command is being executed on the current fzf window. With that, now, it's possible to use the current command name on the statusline: ```viml au User FzfStatusLine call <SID>fzf_statusline() function! s:fzf_statusline() let fzf_cmd_name = get(b:fzf, 'name', 'FZF') let &l:statusline = '> '.fzf_cmd_name endfunction ```pull/558/merge
parent
5b749e2d5c
commit
712b7b2188
Loading…
Reference in New Issue