This repository has been archived on 2022-08-21. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/nvim-old/plug-config/fzf.vim

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'