1
0
forked from aniani/vim

updated for version 7.0c11

This commit is contained in:
Bram Moolenaar
2006-04-06 20:18:50 +00:00
parent 910f66f90c
commit 8dff818edf
22 changed files with 566 additions and 127 deletions

View File

@@ -5080,15 +5080,15 @@ handle_tabmenu()
break;
case TABLINE_MENU_NEW:
if (current_tab > 0)
goto_tabpage(current_tab);
do_cmdline_cmd((char_u *)"tabnew");
vim_snprintf((char *)IObuff, IOSIZE, "%dtabnew",
current_tab > 0 ? current_tab - 1 : 999);
do_cmdline_cmd(IObuff);
break;
case TABLINE_MENU_OPEN:
if (current_tab > 0)
goto_tabpage(current_tab);
do_cmdline_cmd((char_u *)"browse tabnew");
vim_snprintf((char *)IObuff, IOSIZE, "browse %dtabnew",
current_tab > 0 ? current_tab - 1 : 999);
do_cmdline_cmd(IObuff);
break;
}
}