Thursday, May 24, 2012

Re: Can vim be made to start with selected files already open?

Excerpts from Eric Weir's message of Thu May 24 13:14:40 +0200 2012:
>
> After starting vim I take a bit of time to load the base files I
> normally work with. It would be a minor convenience if vim could be
> made to start with these files already loaded.

Option 1)
github.com/MarcWeber/vim-addon-local-vimrc
Then just put
e foo.vim
e bar.vim

into the local .vimrc file.

Option 2)
:mksession and then source it

Option 3) use most recently used file plugin such as tmru
Then opening those files is a lot faster

Option 4)
Use faster ways to open files such as glob open provided in sample rc of
vim-addon-manager - or do :r! find then gf on a path ..

...

Additionally you may want to use tag files or gnu idutils to find the
file you're looking for faster.

I'm pretty sure there are many more options.

Marc Weber

--
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:

Post a Comment