Vim base commands
published on NOV 1, 2018
If you want to delete a single letter you have to move to it and then press
x key. I think it’s very intuitive because
x it’s always used to close banners, popups and other windows in most of the systems.
If you want to insert given text you have to move to the right place which is the first character after the character where you want to put your text and then press
i - remember that inserting would not end unless you press
esc to quit inserting mode.
If you have
Rd green string and you want to fix the first word you have to place your cursor at
d and then press
You can also use press
a which will activate append mode. The only difference between insert and append mode is that the first mode insert text before letter you are currently on and append mode inserts text after the letter you are currently on.
You already know how to navigate, delete and insert so it’s time to practice!