Stefan Karlsson wrote: > On 2009-09-20 03:02 +0800, Steven Woody wrote: > >> /.../ so I want to set the 'path' variable in vim to something like >> 'set path=.,Include', but I only want to do this for the specific >> project, for other projects, the path may be set other ways. > > Personally I prefer to use Vim "sessions" for this kind of stuff. How > sessions work is described in help section 21.4 (:h 21.4).
Good tip. I wasn't aware of this feature. The kind of problem I often run into is that I do a Ctrl-W O (only) for instance, to get rid of all the (split) windows and then I would like to be able to restore the previous layout, with maybe four, five, or six carefully sized windows. I was looking at mkview and I was wondering if there was any way I could use that to have vim automatically save a split window layout and map some key or other that would restore this layout. Gen-Paul. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
