Foreword
Speaking earlier install Ubuntu on Windows, under this article, the problem of the color of vi
step
Storage location
/usr/share/vim/vim80/colors/
Under contents
Instructions
See the README.TXT
main command :colorscheme
, enter the normal mode, normal mode is the mode when you just open the vim, or in insert mode by pressing Esc, enter the normal mode, the default color for thedefault
:colorscheme blue
default
blue
darkblue
delek
desert
elflord
evening
industry
koehler
morning
murphy
pablo
peachpuff
ron
shine
slate
torte
zellner
Of course, it is recommended to go to the next search github, comes with eye color is really a bit spicy ~
Set Theme
- Cloning warehouse
git clone https://github.com/tomasr/molokai.git
- Copy molokai.vim
cp -rvf molokai/colors/molokai.vim ./
- Modify the configuration file
vi /etc/vim/vimrc
to addcolorscheme molokai
a line.:wq
Or:x
Save and Exit