comparison src/window.c @ 2064:f398e0cc5b7a v7.2.349

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.
author Bram Moolenaar <bram@zimbu.org>
date Wed, 27 Jan 2010 20:26:46 +0100
parents eac2556d4620
children 5fd44cf99b6d
comparison
equal deleted inserted replaced
2063:1378bc45ebe5 2064:f398e0cc5b7a
624 break; 624 break;
625 625
626 #ifdef FEAT_SEARCHPATH 626 #ifdef FEAT_SEARCHPATH
627 case 'f': /* CTRL-W gf: "gf" in a new tab page */ 627 case 'f': /* CTRL-W gf: "gf" in a new tab page */
628 case 'F': /* CTRL-W gF: "gF" in a new tab page */ 628 case 'F': /* CTRL-W gF: "gF" in a new tab page */
629 cmdmod.tab = TRUE; 629 cmdmod.tab = tabpage_index(curtab) + 1;
630 nchar = xchar; 630 nchar = xchar;
631 goto wingotofile; 631 goto wingotofile;
632 #endif 632 #endif
633 default: 633 default:
634 beep_flush(); 634 beep_flush();