edenzik / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

saving Session.vim info #250

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
would be great to be able to save and retrieve the session as a UI option.

Original issue reported on code.google.com by pfy...@gmail.com on 17 Jan 2010 at 1:31

GoogleCodeExporter commented 9 years ago
I do not understand what it is you are asking for.  Can you please elaborate?

Original comment by bjorn.winckler@gmail.com on 17 Jan 2010 at 6:08

GoogleCodeExporter commented 9 years ago
a UI feature for the mksession / source features for vim. as to emulate 
something
like a project container.

Original comment by pfy...@gmail.com on 18 Jan 2010 at 1:23

GoogleCodeExporter commented 9 years ago
Exactly how do you propose that this should work?  Again, please elaborate.  
Presumably you are asking for a 
feature that does not yet exist so you have to tell me all the details or I 
won't know what it is.

Perhaps you want something like Issue 119?

Original comment by bjorn.winckler@gmail.com on 18 Jan 2010 at 9:40

GoogleCodeExporter commented 9 years ago
yes, it's a feature request (defect appeard as the only option at the time of
creation). Issue 119 appears to be a file browser feature. however, vim supports
saving/opening sessions, thus when working in macvim it would be great to have 
the
ability to save the session via the UI (i.e. all the open tabs, window splits 
etc),
so you can restore them when reopening macvim. currently can use the command
:mksession and :source in macvim. thus something like File-->'Save session' / 
'Open
session' would be great to restore all my tabs/window splits etc. Also to allow 
to
switch between projects which is something similar to Textmate's project 
feature but
textmate just support file references, yet mksession is clearly a much better 
way to
manage projects.

Original comment by pfy...@gmail.com on 19 Jan 2010 at 9:56

GoogleCodeExporter commented 9 years ago
You can create your own menus

:h menus

or toolbar items

:h gui-toolbar

Maybe that is what you are looking for?

Original comment by bjorn.winckler@gmail.com on 31 Jan 2010 at 1:40

GoogleCodeExporter commented 9 years ago
thanks for the feedback, wasn't aware of that feature. very nice, will try it 
out.

Original comment by pfy...@gmail.com on 31 Jan 2010 at 3:55

GoogleCodeExporter commented 9 years ago
in .gvimrc set up :menu Session.Save :mksession<CR>

The menu is there and looks correct.

however, couldn't get it to save the Session.vim, normally typing :mksession 
from the
command line a Session.vim would be created, also in MacVim, the :source command
requires you to type in the full path of the session file.

Original comment by pfy...@gmail.com on 31 Jan 2010 at 4:19

GoogleCodeExporter commented 9 years ago
I'm sorry but I can't help you with Vim-specific questions.  Please post your 
questions to the vim_use mailing 
list.

Original comment by bjorn.winckler@gmail.com on 31 Jan 2010 at 4:52

GoogleCodeExporter commented 9 years ago

Original comment by bjorn.winckler@gmail.com on 1 Mar 2010 at 7:19