Monday, June 17, 2013

Re: Macvim seems not to be reading my .vimrc

On Jun 17, 3:00 pm, Eric Weir <eew...@bellsouth.net> wrote:
> On Jun 17, 2013, at 2:07 PM, Bee <fo...@calcentral.com> wrote:
>...
> > I like to keep vim and gvim (MacVim) settings in separate files.
> For as long as I've been using vim I've set this in my .vimrc.
> Should I be doing it in the .gvimrc?

Check the MacVim 'Preferences...' in the MacVim menu,
In the Advanced tab uncheck [ ] Enable Quickstart, or
uncheck all items for troubleshooting.

With [x] Enable Quickstart checked the .vimrc file is not reloaded
after changes.

QUIT (really... quit from the MacVim menu 'Quit MacVim', not just
clicking the window red dot) and restart MacVim and check the font
visually and with:

:set guifont?

If it is not fixed more troubleshooting:

I like the separation, terminal vim settings in .vimrc, gvim (MacVim)
in .gvimrc. That has helped me isolate some setting errors.

It may be that some plugin or a setting is clobbering your guifont
setting.

Use MacVim (TextEdit may not be pure plain text) to create a .gvimrc
with only:

:set guifont=Monaco:h14

Remove the guifont setting in your .vimrc, search for more than one
instance of guifont.

Then put 'finish' (without quotes) at the TOP of the .vimrc file so it
skips the remaining settings and only loads the .gvimrc.

If it is good, then you know it is something later in .vimrc.
Move the 'finish' down until you find the culprit.

Bill

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