Posts

Showing posts from August, 2018

Introduction to vi

Introduction to vi Usually, the actual program installed on your system is vim , which stands for vi Improved , and is aliased to the name vi . When using  vi , all commands are entered through the keyboard; you do not need to keep moving your hands to use a pointer device such as a mouse or touchpad, unless you want to do so when using one of the graphical versions of the editor. vimtutor Typing vimtutor  launches a short but very comprehensive tutorial for those who want to learn their first vi  commands. This tutorial is a good place to start learning vi . Modes in vi vi provides three modes , as described in the table below. It is vital to not lose track of which mode you are in. Many keystrokes and commands behave quite differently in different modes. Mode Feature Command ·       By default, vi  starts in   Command mode. ·       Each key is an editor comma...