I wrote:
> Jason Franklin wrote: > > > I noticed this week that Ctrl-^ and Ctrl-W-Ctrl-^ are not consistent in > > their > > behavior when the alternate file is not named. The former works as > > expected, > > and the latter fails. This was a tad annoying. > > > > Example: > > vim --clean > > :e Xfoo > > :enew > > <C-^><C-^><C-^> " works fine > > <C-W><C-^> " fails to split window on other buffer > > > > With this patch, <C-W><C-^> will work just like <C-^> but it will split > > a window first (with some sanity/error checking before it does so). > > > > I also included MANY test cases. Before these patches, these commands > > weren't tested very well at all. > > Thanks! I have to admit I don't use CTRL-^ much because it's not so > easy to type. Strangely, the test fails on AppVeyor but passes everwhere else. I can't reproduce the failure on my Windows 7 system. Found errors in Test_window_split_edit_alternate(): 3050Caught exception in Test_window_split_edit_alternate(): Vim(<):E488: Trailing characters @ function RunTheTest[40]..Test_window_split_edit_alternate, line 22 > I should really find a way to avoid the need for "func!" in tests... That's in patch 8.1.525 -- Individualists unite! /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
