m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-19 00:53:42 -05:00

[neovim] Open tab before current tab

Related: https://github.com/junegunn/gv.vim/issues/19
This commit is contained in:
Junegunn Choi
2016-03-06 13:56:29 +09:00
parent 444a67cafa
commit f704b94603

View File

@@ -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