[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 ```
Please register or sign in to comment