Thursday, July 19, 2012

Re: How to show typos in GUI as if it is in the terminal?

On 2012-07-19, Peng Yu wrote:
> Hi,
>
> I don't like the underlines in GUI, as I feel it is not easy to see
> the underlines compared with the highlight in terminal. Is there a way
> to make GUI looks the same as the terminal in this aspect? Thanks!
>
> http://tips.webdesign10.com/vim/how-use-vims-spellchecker

How you do it depends on whether you use a colorscheme and which
one. If you don't use one, just put this in your vimrc:

hi SpellBad gui=NONE guibg=Red

If you do use a colorscheme, put that in your vimrc after your
:colorscheme command. If you change colorschemes while you're using
vim, put this in your vimrc before your :colorscheme command:

au ColorScheme * hi SpellBad gui=NONE guibg=Red

That's untested and I haven't had my coffee yet, but it or something
similar should work. See also

:help 06.3

Regards,
Gary

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

No comments:

Post a Comment