On Wednesday, March 11, 2015 at 6:59:12 AM UTC+9, Bram Moolenaar wrote:
> Hirohito Higashi wrote:
> 
> > Oops, I fixed patch and test :-)
> > 
> > (I could not attached patch, I paste Gist.)
> > https://gist.github.com/h-east/ffabb0cdd589a5f9acd2
> 
> Thanks!  I wonder if ":tabmove" should work as documented or that the
> documentation needs to be adjusted.  Well, the documentation is already
> inconsistant, it needs to be fixed anyway.
> 
> I suppose that since we have ":0tabmove" to move the tab page to the
> first position, ":$tabmove" is the most logical to move to the last
> position.  Then ":tabmove" without argument just moves it right.
> 
> I would expect ":.tabmove" to not do anything.  But that's not actually
> useful.  So move it to the right, just like ":tabmove"?
> 
> -- 
> Q: How does a UNIX Guru do Sex ?
> A: unzip;strip;touch;finger;mount;fsck;more;yes;umount;sleep
> 
>  /// 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    ///

Hello, Bram.

I agree with the idea that `:.tabmove` should not move the tab page. The 
command `:.` does
not move the line, you know. If `:.tabmove` does not move the tabpage, the 
commands
`:.tabmove`, `:-tabmove`, `:+tabmove` will be consistent with `:.`, `:-`, `:+`.

The command `:tabmove` moves the tab page to the last in old Vim (I mean Vim 
before
7.4.530). If you change the behaviour, it breaks backward compatibility. Some 
users may
use `:tabmove` in order to move the tab to the last.

By the way, :tabmove 0 and :0tabmove behaves the same, sometimes I mistake as 
:tabmove $. This command now throws invalid argument.

itchyny

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

Raspunde prin e-mail lui