Monday, March 1, 2010

Re: close file but not the tab

On Feb 28, 12:07 am, Jan Larres <li...@majutsushi.net> wrote:
> rameo <rai...@gmail.com>:
>
> > When I close Vim with 1 or 2 open documents I would like to reopen
> > these documents open.
>
> > Is that possible?
>
> Use :mksession, just like Ben said.
>
>         Jan
>

To clarify:

:mksession will create a file (which you can specify) that contains a
Vim script that will restore your current editing session. The option
'sessionoptions' controls which portions of the editing session are
restored.

To resume a session, either launch Vim with "vim -S {session file}"
or, from within Vim, use ":source {session file}".

See :help :mksession for details.

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