I have Ubuntu 16.04 LTS. But vim is not showing the proper syntax colors and also the mode in which you are like insert mode. So can anyone help me how to solve the issue?
1 Answer
For syntax highlighting in vim, first install vim
sudo apt install vim
then run
$ cd /usr/share/vim/vim74/colors
/usr/share/vim/vim74/colors$ ls
From its output:
blue.vim desert.vim koehler.vim peachpuff.vim slate.vim
darkblue.vim elflord.vim morning.vim README.txt torte.vim
default.vim evening.vim murphy.vim ron.vim zellner.vim
delek.vim industry.vim pablo.vim shine.vim
Modify file ~/.vimrc
vi ~/.vimrc
or gedit ~/.vimrc
and edit
colorscheme koehler
or any you like.
sudo apt install vim
to get a full-featured vim