On 2015-03-18 Wednesday at 00:54 -0700 h_east wrote: > > (9) :.-tabm " [1] 2 3 4 5 Move to the left > Oops. It was typo. Correctly is here. > (9) :.-tabm " [2] 1 3 4 5 Move to the left > > I represent specification description below. > > $ vim -N -u NONE -p A B C D E -c "tabnext 3" > > > A B [C] D E " Original state of tab pages. [ ] is current tab page. > > Note: > These patterns are not intended to run in order. > Each it describes the change from Original state (A B [C] D E).
Indeed, I considered the commands running in order. Now it is clear: consider every command as the first after the vim command line given above. > (1) :tabm " A C D E [C] " move to the last s/C /B / ? > (2) :.tabm " do nothing > (3) :.+tabm " A B D [C] E " Move to the right > (4) :.+1tabm " as above > (5) :+tabm " as above > (6) :+1tabm " as above > (7) :tabm + " as above > (8) :tabm +1 " as above > (9) :.-tabm " A [C] B D E " Move to the left > (10) :.-1tabm " as above > (11) :-tabm " as above > (12) :-1tabm " as above > (13) :tabm - " as above > (14) :tabm -1 " as above > (15) :0tabm " [C] A B D E " Move to the first > (16) :tabm 0 " as above > (17) :1tabm " A [C] B D E " Move to after tab page 1 > (18) :tabm 1 " as above > (19) :2tabm " do nothing (already there) > (20) :tabm 2 " as above > (21) :3tabm " do nothing (already there) > (22) :tabm 3 " as above > (23) :4tabm " A B D [C] E " Move to after tab page 4 > (24) :tabm 4 " as above > (25) :5tabm " A B D E [C] " Move to last tab page. (Equal number of > tab pages) > (26) :tabm 5 " as above > (27) :6tabm " as above (Greater than number of tab pages) > (28) :tabm 6 " as above > (29) :$tabm " as above (Exactly specify the last) > (30) :tabm $ " as above > > > Thanks for the suggestion. I love vim and your work gives me the feeling, you do it too. Thank you. -- Roland Eggner -- -- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
pgpjYlHV3Qqor.pgp
Description: PGP signature