2022-09-11

How to learn to work with Vim?

Perhaps there is no other text editor you need to work with. study specifically. However, if you learn to work with Vim, then a person gets amazing advantages over other people. Vim is usually already installed on most Linux systems and basic skills working with it are simply necessary for most developers.

Because this editor has its origins in the times when there was no Internet at all, the mouse had not yet been invented, and computers were terminals with a cathode ray tube and a keyboard that did not have arrow keys, then working with this editor looks akin to the dances of a shaman for the uninitiated.

One of the important advantages of this editor is the plugin system. It is thanks to this system that it is possible to transform Vim like an IDE, get syntax highlighting, auto-suggestions, file system navigation and much more.

There are many resources to help you learn how to use this editor, but I thought, if vim has so many plugins, is there a plugin for learning functions the editor himself? And it turned out that yes, there is!

Is is called vim-tutor-mode! In order to install it you need first to install vim-plag - it is an extention manager for vim. Then in a file ~/.vimrc you should add this line: "Plug 'fmoralesc/vim-tutor-mode'" to finalize plugin installation call: :PlugInstall

If the plug in installed successfully, you can start it with command :Tutor.

The tutorial covers the basic functionality of the editor, including working with files, searching and replacing, editing, running operating system commands, and more.

The passage took me several days in small sessions of about an hour a day. Passed on the phone in Termux, on the computer it should be even faster.

 

комментарии:

 

Для того чтобы каждый раз не представляться можно войти как зарегистрированный пользователь.

Имя*

разрешены только теги br, font, span, p, strong, u, p, blockquote, a, div, img - остальные будут безжалостно удаляться