VIM ViIMproved Text Editor Program
VIM ViIMproved Text Editor Program – The Full form of VIM is “ViIMproved. VIM is a text editor program or Interface used in Unix Operating System. It is similar to Bill Joy’s vi text editor. It was developed by Bram Moolenaar in 1988. The first release was VIM 1.14 in 2 Nov 1991. The language was written in C & Vim Script. The Operating System which supports VIM Text Editor was UNIX, Linux, Windows NT, MacOS, iOS, Android and Amiga OS. The VIM Editor include many language as per our need like English, French, Russian, Spanish, German, Italian, Persian etc. VIM was designed for both Command line Interface and Graphical User Interface.
What is VIM Script?
It is the scripting language embedded into VIM. The early version. VIM Script is mostly written in an imperative programming style. It also supports advance data type such as lists.
The VIM program uses multiple Commands called as VIM Editor Commands. Vim is an editor to create or edit a text file. There are two modes used in VIM editor – command mode and insert mode. In command mode – The user can move around the files. The important commands used in VIM Editor are – Text Entry Commands, Cursor Movement Commands, Exit Commands, Text Deletion commands, File Manipulation Commands and others. Some of the use full commands are given below.
What are the VIM Editor Commands?
“a” – Append text with respect to current cursor position.
“A” – Append text to the end of current line.
“i” – Insert text before the current cursor position
“I”- Insert text at the beginning of the cursor line
“h” – Moves the cursor one character to the left.
“I” – Moves the cursor one character to the right
“K” – Moves the cursor up one line.
“j” – Moves the cursor down one line.
“$” – Move cursor to the end of current line
“wq” – Write file to disk and quit the editor.
“ZZ” – Save workspace and quit the editor.
“x” – Delete character.
“dw” – Delete word from cursor on.
“dd” – Delete line
“:w” – Write workspace to original file