We started to study shell programming in school and we use VI to code some scripts. I noticed that all my colleagues using vi on ubuntu are very irritated and seem to envy their friends who use VI on Fedora 10 because it's very easy to use and colorful, it helps to detect syntax errors. Some of my friends started to regret installing Ubuntu instead of Fedora and even blamed me for recommending it. As an Ubuntu fan I looked for a solution for this tiny problem. I won't accept any lame remark about Ubuntu !! you need a colorful VI ? Here you are !
1- You have to install VIM which is "vi Improved" just tape this code in your console:
sudo apt-get install vim
2- After installing it you have to edit a file () and uncomment a parameter. To do so first you have to turn into root so type su and enter your root password:
su
2- After installing it you have to edit a file () and uncomment a parameter. To do so first you have to turn into root so type su and enter your root password:
su
then change this file mode for writing (so you can change its content)
chmod +w /etc/vim/vimrc
chmod +w /etc/vim/vimrc