Monday, May 10, 2010

Re: Open multiple files in vim

What I do for projects sometimes is maintain a little textfile like
this and name it "VIM":

:e /root/C++/xsdmnt/main.cpp
:split /root/C++/xsdmnt/main.h
:tabnew /root/C++/xsdmnt/MainWindow.cpp
:tabnew /root/C++/xsdmnt/MountView.cpp
:tabnew /root/C++/xsdmnt/AvailList.cpp

Then I just use ":source ~/C++/xsdmnt/VIM" in an empty buffer.

--
MK <halfcountplus@intergate.com>

--
You received this message from the "vim_use" 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

No comments: