Lech Lorens wrote:

> The attached patch makes it possible to move a tab X places to the right
> by issuing:
> 
> :tabmove +X
> 
> and X places to the left:
> 
> :tabmove -X
> 
> A set of tests has been added and the undocumented possibility of
> specifying the argument as ":3tabmove" has been removed to prevent the
> inconsistency which ":tabmove +3" versus "+3tabmove" would present (the
> latter means move behind the tab whose number is the number of current
> line plus 3).

Thanks, sounds useful.  I'll add it to the todo list.

I do think we need to keep the existing behavior of ":3tabmove", it's
consistent with using a count for an Ex command.  Just document that the
+3 and -3 only work when the count is after the command.

-- 
Warning label on a superhero Halloween costume:
"Caution: Cape does not enable user to fly."

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

Raspunde prin e-mail lui