mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.2.349
Problem: CTRL-W gf doesn't put the new tab in the same place as "tab split" and "gf". (Tony Mechelynck) Solution: Store the tab number in cmdmod.tab.
This commit is contained in:
@@ -681,6 +681,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
349,
|
||||
/**/
|
||||
348,
|
||||
/**/
|
||||
|
@@ -626,7 +626,7 @@ wingotofile:
|
||||
#ifdef FEAT_SEARCHPATH
|
||||
case 'f': /* CTRL-W gf: "gf" in a new tab page */
|
||||
case 'F': /* CTRL-W gF: "gF" in a new tab page */
|
||||
cmdmod.tab = TRUE;
|
||||
cmdmod.tab = tabpage_index(curtab) + 1;
|
||||
nchar = xchar;
|
||||
goto wingotofile;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user