This should also work, (I suspect that is correct in suggesting that BCE is the problem here), but the 16-colour mode is preferable unless you explicitly don't want to use solarized in your terminal. * These lines switch solarized to using its (less faithful) 256-colour mode. Vim works well with a full Solarized theme only in tmux. If you are using a terminal emulator that supports 256 colors and don't want to use the custom Solarized terminal colors, you will need to use the degraded 256 colorscheme. Well, I'm having the opposite 'problem', i.e. If you do use the custom terminal colors, solarized.vim should work out of the box for you. If you remove the lines setting t_Co and g:solarized_termcolors from your vimrc*, and configure your terminal colours correctly, then you should find that the 16-colour solarized colorscheme will start to work. Browsing around tmux, Vim and Solarized I can find lots of complains about 256 colours and 'user experience'. (White is not a colour in the solarized set, and although I haven't eyedroppered it, the other text colour in the screenshot doesn't look to me like it's Solarized "Violet" (#6c71c4), either.) However, it appears from your screenshot that your terminal does not have the correct colours set. The former method is strongly recommended by the author (and by me), and it sounds as though you are happy to use this method because you state that your "terminal has the correct colors and background". So for example, the Vim colorscheme will request terminal colour "1", and the terminal displays this as the hex colour #dc322f.Ī 256-colour mode, where it picks the closest matches for its 16 colours from a 256-color palette. The solarized terminal-Vim colorscheme can work in one of two different ways.Ī 16-colour mode: Solarized only contains 16 colours, so in this mode you set your terminal to use the solarized colours as its 16 colours, and the Vim colorscheme just uses these.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |