1
0
Fork 0

neovim: Use fzf-vim's buffer command

This commit is contained in:
Jeremy Kaplan 2020-06-24 19:58:39 -07:00
commit 19c3f4548b

View file

@ -111,11 +111,7 @@ map <silent> ;x :x<CR>
set wildignore+=*.swp,*~
map <silent> ;b :call fzf#run({
\ 'source': map(filter(range(1, bufnr('$')), 'buflisted(v:val)'), 'bufname(v:val)'),
\ 'sink': 'e',
\})<CR>
map <silent> ;b :Buffers<CR>
map <silent> ;f :call fzf#run({'source': 'rg --files --hidden', 'sink': 'e'})<CR>
function! s:escape(path)