Tuesday, June 18, 2013

Re: Macvim seems not to be reading my .vimrc

On Tuesday, June 18, 2013 6:26:39 AM UTC-5, Eric Weir wrote:
>
>
> I use vundle to manage plugins. One of the plugins is 'sessions.' When 'finish' appears after the call for 'sessions' font type reverts from Monaco:h14 to Monaco:h10.
>
>
>
> I have no idea what to do about that. I tried putting 'set guifont=Monaco:h14 after the call for 'sessions' but that had no effect.
>

I don't know what 'sessions' is, but I assume it automatically saves and loads a Vim "session" file via :mksession automatically when exiting and entering Vim.

Try removing "options" from your 'sessionoptions' option in your .vimrc. It is there by default and a major annoyance to me. You might tweak 'sessionoptions' to make sure other things you don't want restored blindly are also not included.

Another note, and I almost suggested this, now I wish I had: if an option is set differently than you expect, you can do ":verbose set optionname?" to see not only what it is set to, but also what file set it to that value. This would have found the culprit more quickly I think.

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