mirror of
https://github.com/junegunn/fzf.vim.git
synced 2026-08-12 19:06:54 +08:00
committed by
Junegunn Choi
parent
43a570d6e6
commit
7e868c49ac
@@ -464,7 +464,7 @@ endfunction
|
|||||||
|
|
||||||
function! fzf#vim#history(...)
|
function! fzf#vim#history(...)
|
||||||
return s:fzf('history-files', {
|
return s:fzf('history-files', {
|
||||||
\ 'source': reverse(s:all_files()),
|
\ 'source': filter(reverse(s:all_files()), 'v:val != expand("%")'),
|
||||||
\ 'options': '-m --prompt "Hist> "'
|
\ 'options': '-m --prompt "Hist> "'
|
||||||
\}, a:000)
|
\}, a:000)
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
Reference in New Issue
Block a user