From 6f886cdc48cf34c50eb723abca2f813a5de2c11b Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Thu, 20 Aug 2015 09:27:31 +0200 Subject: [PATCH] Make window sizes equal --- autoload/startify.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/autoload/startify.vim b/autoload/startify.vim index 7e62f0e..6cefac8 100644 --- a/autoload/startify.vim +++ b/autoload/startify.vim @@ -374,6 +374,8 @@ function! startify#open_buffers(...) abort for entry in sort(values(marked), 's:sort_by_tick') call s:open_buffer(entry) endfor + + wincmd = endfunction " Function: s:open_buffer {{{1 @@ -386,6 +388,9 @@ function! s:open_buffer(entry) if line2byte('$') == -1 execute 'edit' a:entry.path else + if a:entry.cmd == 'tabnew' + wincmd = + endif execute a:entry.cmd a:entry.path endif call s:check_user_options()