Wednesday, May 16, 2012

Using Vim Tabs Instead of Multiple Vim Instances

... I found out that you can open multiple files in tabs with one instance of vim, instead of across multiple instances of vims in different terminal windows!

vim -p *.py
Will open all python source files in the current directory in tabs inside vim.

gt and gT will move forwards and backwards in your tab list.

If you want to create a new tab with vim already running, use the following command:

No comments:

Post a Comment