Ubuntu-- modify the color of vi

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.TXTmain 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

  1. Cloning warehouse
git clone https://github.com/tomasr/molokai.git 
  1. Copy molokai.vim
 cp -rvf molokai/colors/molokai.vim  ./  
  1. Modify the configuration file
    vi /etc/vim/vimrc to add colorscheme molokaia line. :wqOr :xSave and Exit

Guess you like

Origin www.cnblogs.com/wangyang0210/p/12602269.html