Tuesday, June 18, 2013

Re: Macvim seems not to be reading my .vimrc

On Tuesday, June 18, 2013 1:42:52 PM UTC-5, Eric Weir wrote:
>
> I don't have anything in my .vimrc related to 'sessions' except a call for it in the 'bundle' configuration.
>

Yes, I figured that. But Vim has an option called 'sessionoptions' which controls what actually gets saved in a session file. You can customize the value of this option in your .vimrc, if desired. See :help 'sessionoptions'.

However, I'm coming at this from the viewpoint of having a detailed .vimrc and a lot of plugins all setting options and mappings. I don't need to have Vim remember options in a session, because the options I like are already set in my .vimrc.

You may like having options remembered, because then you can simply set the option manually, and the auto-saved session file will remember it and restore it the next time you run Vim.

Still, you might want to at least look at :help 'sessionoptions' to see what is available for you to customize.

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment