Subscribe for free with iTunes, Twitter, or RSS (Ogg or Quicktime).


How to use tabs


Vim’s treatment of tabs is a little different than what you might be used to if you are coming from another editor. In this episode I demonstrate how Vim’s tabs can be used to group split windows together. I also show how to use Vim’s tabs like projects in TextMate, by setting a different working directory for each one.


OGG 7.9 MB

Quicktime 8.7 MB

You can reveal the current directory with the command:


To change the working directory for the current tab, use the command:


Note that both :pwd and :cd commands are native to Vim. You can call the equivalent commands for your shell by running :!pwd or :!cd.

Further reading