mirror of https://github.com/junegunn/fzf
[vim] Ignore 'dir' option if empty
This makes it easier to override FZF command like follows: autocmd VimEnter * command! -nargs=? -bang -complete=dir FZF call fzf#run({ \ 'sink': 'tabe', \ 'dir': <q-args>, \ 'options': '-m', \ 'tmux_height': empty('<bang>') ? '40%' : '' })pull/106/head
parent
d1387bf512
commit
6fd6fff3a6
Loading…
Reference in New Issue