mirror of
https://github.com/junegunn/fzf.vim.git
synced 2026-01-19 17:42:58 +08:00
Reverse the order of v:oldfiles
This commit is contained in:
@@ -152,9 +152,9 @@ command! -bang -nargs=1 Locate call s:fzf({
|
||||
" ------------------------------------------------------------------
|
||||
function! s:all_files()
|
||||
return extend(
|
||||
\ filter(copy(v:oldfiles),
|
||||
\ filter(reverse(copy(v:oldfiles)),
|
||||
\ "v:val !~ 'fugitive:\\|NERD_tree\\|^/tmp/\\|.git/'"),
|
||||
\ map(s:buflisted(), 'bufname(v:val)'))
|
||||
\ filter(map(s:buflisted(), 'bufname(v:val)'), '!empty(v:val)'))
|
||||
endfunction
|
||||
|
||||
command! -bang History call s:fzf({
|
||||
|
||||
Reference in New Issue
Block a user