On Sat, Oct 10, 2009 at 7:50 PM, Stahlman Family
<[email protected]> wrote:
>
> You can use the SessionLoadPost autocommand to do whatever you like just
> after a session file is sourced.
> Caveat: doautoall is used to execute the SessionLoadPost autocommands,
> so they're executed for each loaded buffer.
>
> :help :au
> :help SessionLoadPost
>
> If it doesn't hurt to source your script multiple times, you could put
> something like...
> :au SessionLoadPost * :runtime after/plugin/mycolor.vim
Thanks, that's a good idea!
>
> Steven Woody wrote:
>> Hi,
>> The colors I set in after/plugin/mycolor.vim can not be kept every time when
>> I load (:so) a previously saved session file. How to overcome this?
>>
>> Thanks.
>>
>
> >
>
--
Life is the only flaw in an otherwise perfect nonexistence
-- Schopenhauer
narke
public key at http://subkeys.pgp.net:11371 ([email protected])
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---