[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')
execute a:dict.window
else
tabnew
execute (tabpagenr()-1).'tabnew'
endif
finally
setlocal winfixwidth winfixheight buftype=nofile bufhidden=wipe nobuflisted