

Reload configuration file or restart Vim. " map F12 to ToggleSolarizedTheme() function When I run vim without tmux, it looks great, see below: If I add the following commands to my. Runtime autoload/lightline/colorscheme/solarized.vim VIM solarized color scheme looks wrong when using tmux Ask Question Asked 8 years, 2 months ago Modified 3 years, 2 months ago Viewed 13k times 6 I am trying to use the solarized color scheme in VIM using gnome terminal (Ubuntu). Let &background = ( &background = "dark"? "light" : "dark" ) Chrome, Clouds, Crimson Editor, Dawn, Dreamweaver, Eclipse, KatzenMilch, Kuroir, GitHub, Solarized Light, TextMate, Tomorrow, XCode. " change background and update lightline color scheme " define function to toggle solarized theme It is based on ToggleBG function from a Solarized theme. $ git clone ~/.vim/pack/interface/start/lightline.vimĬreate basic ~/.vimrc file with additional ToggleSolarizedTheme() function mapped to F12 key that will change the background color and indirectly main color scheme, then update the status line to reflect changes. $ git clone ~/.vim/pack/interface/start/vim-colors-solarizedĭownload lightline status line plugin. $ mkdir -p ~/.vim/pack/interface/start/ĭownload the Solarized color scheme.
#Vim solarized install
Install plugins #Ĭreate a directory that will be used to load main color scheme and status line plugin during application startup. On the other hand, minipac is a minimal package manager for Vim 8 that takes advantage of new features. Still, you can use the older version with pathogen, bundle, or vim-plug Vim plugin manager.


This tutorial requires at least the most recent Vim 7.4 (probably the lowest supported version is in this case) as it provides native third-party package loading. It places itself half way between the original Solarized and the Flattened variant. I am using the lightline status line with the Solarized color scheme inside Vim text editor.Įnsure that terminal is set to the Solarized color scheme. This is yet another Solarized theme for Vim.
