Friday, May 15, 2015

Installing and how to use VIM editor

Peace be upon you,
Today I want to share about the famous multipurpose text editor "Vim editor". This editor are famous among the unix administrator and programmer because of the sleek, minimal, simple and support many coding language. To use Vim editor, you need to install it first. In this tutorial, I am using CentOS 7.0.1406 (Core) from my personal VPS.
# yum install vim-X11 vim-common vim-enhanced vim-minimal 

After that, you are ready to start using Vim editor! Let's take some quick tutorial how to use Vim editor:

1. Open / Create a file
Just type vim or vi and followed by your target / own file name
$ vim my_work_file_name.c

2. Insert / Edit
After you open the file, just ress i and you can edit / insert and start manipulating (insert) the target file.

3. Save into file and exit
Press Esc+:+w+q to save any changes and terminate the Vim.

No comments:

Post a Comment