FollieHiyuki-dotfiles/nvim-old/plug-config/fzf.vim

20 lines
774 B
VimL
Raw Permalink Normal View History

2021-02-13 11:28:59 -05:00
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'