Linux Today: Linux News On Internet Time.

Tabs in vim

May 03, 2009, 20:23 (2 Talkback[s])

[ Thanks to Jadu for this link. ]

"How to open a new tab in vim ?


:tabnew or :tabedit alone will open a new tab with empty buffer

:tabnew filename or tabedit filename will load the file in new tab

How to open files in separate tabs at start-up?

The following will open the 4 files in 4 separate tabs.

$ vim -p file1 file2 file3 file4"

Complete Story

Related Stories: