Insert Like a Pro·Lesson 5
Uppercase Commands
shiftVim has a habit: the uppercase version of a command is usually a bigger, stronger, or reversed version of the lowercase one.
iinserts at the cursor.Iinserts at the start of the line.aappends after the cursor.Aappends at the end of the line.oopens a line below.Oopens a line above.wmoves by word.Wmoves by WORD (more on that soon).
Pattern to remember
When you learn a new lowercase command, try the uppercase one too. It's usually related.
Try it out
1const total = price * quantity;
2if (total > limit) {
3 notify("over budget", total);
4}