Vim is a text editor that is spreading rapidly and being actively used by many programmers. Ease of use, functionality and flexibility are the main qualities of this program that have led to its popularity. The number of code writers who prefer this program is continuing to grow every day.
The following list describes many of Vim’s software tools, but doesn’t include its utilities relating to entering and editing text: automatic filling; comparison of 2 or more files; simultaneous operation in several encodings; configurable automatic syntax highlighting; multiple layout of editing windows; unlimited depth of rollback and undo; integration with the operating system; the best review of the text after its collapse; good configuration for the user needs.
The above list of Vim features is not complete – these are just some of the functions that are used by programmers in everyday practice for editing software code, analysis of LOG-files, and editing of configuration files.
VIM Editor provides 4 modes:
Normal mode. Modification of the text is not allowed, the arrow keys move the cursor, others keys perform pre-scripted (by default, or by the user) commands. This is the central mode, there user has the ability to configure for another mode (to transition back – press the Escape key).
Insert mode. After transitioning to this configuration, the user gets a “normal” text editor. Typed characters are inserted into an existing document; they are not perceived as commands. Insert, delete, auto-completion, and text editing are all available by pressing keyboard shortcuts.
Command line. It is used to enter commands that are not associated with normal or F-keys and their sequences. Can be fetched by pressing the colon while in normal mode, after it should follow an obscure command.
Visual mode. Special control commands along with the navigation command arrows allow you to allocate text fragments line by line, character by character, or block by block. Normal mode commands are applied to the dedicated area. As for editing, here it is slightly easier because you can see what block of the text you should change.