FollieHiyuki-dotfiles/nvim-old/plug-config/fzf.vim
FollieHiyuki b080c54e5b
Add glow config
Also deprecate neovim config.
2021-10-17 21:48:02 +07:00

20 lines
774 B
VimL

command! -nargs=? -bang -complete=dir Files
\ call fzf#vim#files(<q-args>, <bang>0 ? fzf#vim#with_preview('up:70%') : fzf#vim#with_preview('right:70%'), <bang>0)
let g:fzf_colors =
\ { "fg": ["fg", "Normal"],
\ "bg": ["bg", "Normal"],
\ "hl": ["fg", "IncSearch"],
\ "fg+": ["fg", "CursorLine", "CursorColumn", "Normal"],
\ "bg+": ["bg", "CursorLine", "CursorColumn"],
\ "hl+": ["fg", "IncSearch"],
\ "info": ["fg", "IncSearch"],
\ "border": ["fg", "Ignore"],
\ "prompt": ["fg", "Comment"],
\ "pointer": ["fg", "IncSearch"],
\ "marker": ["fg", "IncSearch"],
\ "spinner": ["fg", "IncSearch"],
\ "header": ["fg", "WildMenu"] }
let g:fzf_buffers_jump = 1
let g:fzf_history_dir = '$HOME/.local/share/nvim/fzf-history'