Posts

Showing posts from May, 2019

Linux - VIM Editor Commands

Image
Linux - Vim Editor  Commands What is  VIM? Vim is a highly configurable text editor for efficiently creating and changing any kind of text. It is included as "vi" with most UNIX systems and with Apple OS X. MODES There are two different modes in VIM editor. Command Mode Move around the file Copy, Paste and Delete the text Insert Mode User can insert the text Change between the Modes Press  i  to get into Insert Mode. Press  Esc  (escape key) to exit form the Insert mode to Command Mode. Text Entry Commands -  a  Append text following 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 current line -  o  Open up a new line following the current line and add text there - O  Open up a new line in front of the current line and add text there Cursor Movement Commands -  h  Moves the cursor one character to the left -  l