Saturday 8 September 2012

Install VIM editor on Ubuntu 11.04

Well I had to re-install my computer, I lost all my data, I was so disappointed but then I thought what rifiki said in the Lion King "The past does hurt, but the way I see it you can either run from it or LEARN from it."
So, I thought I will install some bare minimum things I need in daily development and share all with you. Maybe some one gets some help and I feel happy :)

Well, this is the second thing in my todo list. I really like the editor, too powerful and so light weight.

Just follow the steps:

1) Open a terminal by Applications > Accessories > Terminal
or Alt + F2 , then type gnome-terminal, press enter.
2) Type sudo apt-get install vim
3) [sudo] password for nikhil: my-password-here
4) Say 'y' to download the required packages.
5) If you get :
Setting up vim-runtime (2:7.3.035+hg~8fdc12103333-1ubuntu7) ...
Processing /usr/share/vim/addons/doc
Setting up vim (2:7.3.035+hg~8fdc12103333-1ubuntu7) ..

Congratulations !!
6) Test it with vim myfile
7) Escape out of it by : q
8) Search for a pattern /pattern

Thanks for reading. Keep Blooging

No comments:

Post a Comment