Failed to install vim solarized

I am struggling to install a solarized plugin on vim, the next steps that I followed

  • Use gmarik / Vundle.vim to install the solarized plugin (using the below .vimrc script)
  • Run vim + PluginInstall + qall to install the plugin
  • Put the following lines in .vimrc:

syntax enable
set background = dark
colorscheme solarized

.vimrc script used
vimrc script

But the result: a solarized plugin has the following results that look and feel differently than expected
bad look and feel

Pending look
enter image description here
Is there something I did wrong? Please advise. Thank you and appreciate everyone for your kind help.

Try to add

set t_Co=256 let g:solarized_termcolors=256

It looks better, but still different from the capture shown by the author. enter image description here

+4
3

. , - pathogen. , :

    mkdir -p ~/.vim/autoload ~/.vim/bundle; \
curl -LSso ~/.vim/autoload/pathogen.vim \
    https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim

.vimrc:

execute pathogen#infect()

~/.vim/bundle, vim. , vim-colors-solarized :

cd ~/.vim/bundle
git clone git://github.com/altercation/vim-colors-solarized.git

, t_Co 256 . :

set t_Co = 256

, . , .vimrc, :

let g:solarized_termcolors=256 

, :)

+2

vimrc :

set background=dark

.

EDIT: , . !

0

set term=foo : TERM , , *rc.

, CLI Vim, - , .

0

Source: https://habr.com/ru/post/1541924/


All Articles