1
votes

enter image description here

I'm working with an ubuntu 16.04 VPS which I access via windows through Putty. I'm trying to install http://ethanschoonover.com/solarized/vim-colors-solarized but I'm getting terrible contrast(screenshot for solarized light). After following the instructions on installing via pathogen (Option 2: Pathogen installation (recommended)). How can I get this theme working properly?

my .vimrc:

syntax enable
set background=light
colorscheme solarized

Edit:

my .vimrc:

syntax enable
set background=light
colorscheme solarized
highlight Normal ctermbg=Blue
1
What's on your ~/.vimrc?Sebastian Palma
Please see edit:user1592380
I see a lot of tips on the link you provided. Did you try let g:solarized_termcolors=256? Did you follow the vim instructions on ethanschoonover.com/solarized? Have you tried "setting your terminal emulator’s colorscheme to used the Solarized palette," Have you tried tweeking the settings on `Putty > Change Settings > Window > Colours?Jim U
For me, set background=dark is easier on my eyes. What are the negative and positive aspects of dark color scheme?Jim U
Thanks guys. I eventually found alvinalexander.com/linux/vi-vim-editor-color-scheme-syntax and alvinalexander.com/linux/vi-vim-editor-color-scheme-colorscheme, which helped me . I eventually just added "highlight Normal ctermbg=Blue" to my .vimrc and it now is readableuser1592380

1 Answers

0
votes

Make sure to read the "important note for terminal user" section of the page you linked. In summary, the terminal version of the Vim theme assumes that your terminal colors are already set to Solarized (e.g. using the Xdefaults file).

If this is not the case then you can force the theme to approximate Solarized palette using the 256 available colors by adding this to your .vimrc:

let g:solarized_termcolors=256

Note that this only applies to Vim on the terminal (not GUI like GVim or MacVim).