| To: vim-dev@vim.org |
| Subject: Patch 7.2.349 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| 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 |
| |
| |
| |
| |
| |
| *** 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 |
| |
| |
| |
| *** 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 -- Bram@Moolenaar.net -- 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 /// |