Fix fzf in vim.

This commit is contained in:
Bartek Stalewski 2020-10-26 00:25:05 +01:00
parent 57f5412b79
commit c8d3689ea7

View file

@ -67,7 +67,7 @@ colorscheme gruvbox
autocmd! User GoyoEnter Limelight autocmd! User GoyoEnter Limelight
autocmd! User GoyoLeave Limelight! autocmd! User GoyoLeave Limelight!
let $FZF_DEFAULT_COMMAND='fd -H -L --ignore-file ~/.config/local.fdignore' let $FZF_DEFAULT_COMMAND='fd -H -L --ignore-file ~/.config/local/fd'
command! -bang -nargs=? -complete=dir Files command! -bang -nargs=? -complete=dir Files
\ call fzf#vim#files(<q-args>, {'options': ['-e', '--layout=reverse', '--preview', 'bat --color=always --style=plain --theme=gruvbox {}']}, <bang>0) \ call fzf#vim#files(<q-args>, {'options': ['-e', '--layout=reverse', '--preview', 'bat --color=always --style=plain --theme=gruvbox {}']}, <bang>0)
command! -bang -nargs=? -complete=dir Colors command! -bang -nargs=? -complete=dir Colors