Hi Andy, Tony and all,
2017-7-21(Fri) 4:06:17 UTC+9 Andy Wokula:
> Am 20.07.2017 um 20:24 schrieb Tony Mechelynck:
> > FWIW, I also think that :tabmove 5 should move the current tab after
> > what is now tab 5.
> >
> > Andy: when you do ":1,5move 10", where would you expect the present
> > first 5 lines to go? After the present line 10 (becoming lines 5-10
> > after the move) or after the present line 15 (becoming lines 10-15
> > after the move)? I would expect the former.
> >
> > Best regards,
> > Tony.
>
> I see what we have now makes a lot of sense when people put tab page
> numbers (like line numbers) on their tab labels. And that's why there
> will probably no change.
>
> But otherwise your analogy also suggests that
> :1,5 tabmove 10
> should move the first 5 tab pages to after tab page number 10
> (which it doesn't (yet)).
Perhaps Tony's example was not good.
`:help :move` says:
:[range]m[ove] {address} :m :mo :move E134
Move the lines given by [range] to below the line
given by {address}.
`:move`'s [range] and {address} have different meanings.
Briefly explain:
[range] is move source range.
{address} is move distination.
On the other hand, `:tabmove` is below. (:help :tabmove)
:tabm[ove] [N] :tabm :tabmove
:[N]tabm[ove]
[...]
:0tabmove " move the tab page to the beginning of the tab
" list
:tabmove 0 " as above
The meaning is the same for forward N and backward N.
When both are specified, Vim respect the backward N. (Maybe undocumented...)
--
Best regards,
Hirohito Higashi (h_east)
--
--
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.