mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 16:45:38 -05:00
[neovim] Open tab before current tab
Related: https://github.com/junegunn/gv.vim/issues/19
This commit is contained in:
@@ -313,7 +313,7 @@ function! s:split(dict)
|
|||||||
if s:present(a:dict, 'window')
|
if s:present(a:dict, 'window')
|
||||||
execute a:dict.window
|
execute a:dict.window
|
||||||
else
|
else
|
||||||
tabnew
|
execute (tabpagenr()-1).'tabnew'
|
||||||
endif
|
endif
|
||||||
finally
|
finally
|
||||||
setlocal winfixwidth winfixheight buftype=nofile bufhidden=wipe nobuflisted
|
setlocal winfixwidth winfixheight buftype=nofile bufhidden=wipe nobuflisted
|
||||||
|
|||||||
Reference in New Issue
Block a user