neovim: Use fzf-vim's buffer command
This commit is contained in:
parent
7c41a48fdf
commit
19c3f4548b
1 changed files with 1 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue