Patch 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.
Files:      src/window.c


*** ../vim-7.2.348/src/window.c 2009-06-24 17:31:27.000000000 +0200
--- src/window.c        2010-01-27 20:23:22.000000000 +0100
***************
*** 626,632 ****
  #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;
                        nchar = xchar;
                        goto wingotofile;
  #endif
--- 626,632 ----
  #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 = tabpage_index(curtab) + 1;
                        nchar = xchar;
                        goto wingotofile;
  #endif
*** ../vim-7.2.348/src/version.c        2010-01-27 18:29:21.000000000 +0100
--- src/version.c       2010-01-27 20:25:43.000000000 +0100
***************
*** 683,684 ****
--- 683,686 ----
  {   /* Add new patch number below this line */
+ /**/
+     349,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
159. You get excited whenever discussing your hard drive.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui