VIM Mode understanding and uses
In this lecture, we will understand VIM mode and go through uses of VIM modes. Most common modes of VIM editor are "normal mode, insert mode, visual mode and command mode".
VIM Advanced Tutorial Course on Udemy:-
https://www.udemy.com/course/vim-advanced-tutorial
Embedded Linux Course on Udemy:-
https://www.udemy.com/course/embedded-linux
Free 100 Coupon for Embedded Linux Course on Udemy:-
https://www.udemy.com/course/embedded-linux/?couponCode=1E00478E952A3E00D003
Free 100 Coupon for VIM Advanced Tutorial Course on Udemy:-
https://www.udemy.com/course/vim-advanced-tutorial/?couponCode=EE11001ECDF7ECB929FE
Normal Mode
By default, Vim starts in “normal” mode. Normal mode can be accessed from other modes by pressing Esc.
In Normal mode key presses don’t work as one would expect. Only a fews special charcter works like i, v and others.
This mode is basically used if you don't want to edit anything in the document like ready only mode. Arrows key
works for movement across the file. Common key for movement in VI and VIM(h,j,k,l).
• G move to the end of the file.
• gg move to the beginning of the file.
Insert Mode
Insert mode is used to insert characters into file similar to any normal editor. Press i to into insert mode.
To leave insert mode and return to normal mode, press Esc.
Visual Mode
Visual mode is used to make selections of text, similar to how clicking and dragging with a mouse behaves. Selecting
text allows commands to apply only to the selection, such as copying, deleting, replacing, and so on.
The visual mode actually has multiple subtypes: visual, block-visual and linewise-visual
• visual: like described above. Enter by pressing v
• block-visual: select any rectangular region. Enter by pressing "ctrl+v"
• linewise-visual: always select full lines. Enter by pressing "shift+v"
Command Mode
Command mode has a wide variety of commands and can do things that normal mode can’t do as easily.
To enter command mode type ’:’ from normal mode and then type your command which should appear at
the bottom of the window.
For example :w to save the file
Vim has a number of other methods that you can read about in the help documentation, :h or :help.
Replace mode
Replace mode allows you replace existing text by directly typing over it. Before entering this mode, get into normal mode
and put your cursor on top of the first character that you want to replace. Then press ‘R’ (capital R) to enter replace mode.
Now whatever you type will replace the existing text.
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «VIM Mode understanding and uses», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.