← All lessons

13. Tabpages

Step 5 of 6

Reshuffling tabpages

If you want to rearrange your tabpages, use the :tabmove command.

If you find yourself doing this often, you might want to add a mapping for :tabmove +1 and :tabmove -1 to your Vim configuration.

Try these in the editor. There’s three text files on disk: foo.txt, bar.txt, and baz.txt. Open each of them in a new tabpage with :args *.txt followed by :tab all. Then, experiment with the :tabmove command!

Loading editor…