Monday, January 25, 2010

Re: tab opened by ‘Ctrl+W gf ‘ always located at the Tab 1, How to locate it after the current tab?

Tony Mechelynck wrote:

> On 09/12/09 04:14, Ryan J M wrote:
> > Am I missed anything?
> >
> > Thanks,
> >
>
> Experiment (with gvim 7.2.344) shows that, contrary to what is said at
> ":help CTRL-W_gf" (doc/windows.txt 2009-09-23 line 755),
>
> Ctrl-W gf
>
> and
>
> :tab split | normal gf
>
> (with no count in either case) do not behave identically, in that the
> location of the new tab on the tab bar is different. If you want the
> former to behave as the latter, you can use
>
> :noremap <C-W>gf :tab split <Bar> normal! gf<CR>
>
> Similarly for Ctrl-W gF
>
>
> Bram: documentation bug? Or program bug?

Strange, I would expect them to do the same thing. I'll look into why
this is happening.

--
hundred-and-one symptoms of being an internet addict:
142. You dream about creating the world's greatest web site.

/// 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 ///

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

No comments: