Although I am typing this blog post on vim with html. I sometimes do not use Vim. I am all around the place with Atom sometimes, or Gedit or pluma or Visual Studio Code sometimes. But then I come back to vim for the simplicity of things. When I do, i sometimes forget what i need to know to get back to my old Vim state. This one is for me to read this blog post in two minutes and getting back to work.
I don’t think i have to say what mode these commands have to be used in.
ito insert text
Escto exit edit mode
vfor visual select
shift + vor
Vfor visual lines
ctrl + vfor visual block
pto paste on the next line.
shift + por
Pto paste right where the cursor is.
:wqto save and quit
:e filenameto open a new buffer with file specified
:lsto list all the buffers. # is the previous buffer. %a is the active buffer
:b buffernumberto switch to that buffer
:b #to switch to the previous buffer
:bd buffernumberto delete a particular buffer.
This should be enought to get you going.