movement
first off to move you can use cursor keys or h j k l
modes
you have normal mode, visual mode, and insert mode
- bottom left should note if it is in normal mode or insert mode if nothing is said here then you are in normal mode
to make sure you are in nomal mode press esc
quit
to quit type :q
to quit read only files type :qa!
save
to save type :w
to quit and save :x or :x! or :wq
insert text
to insert text you can use i and it will insert text where your cursor is, once you are done press ESC --insert will add text to the left of the cursor
to insert at the begining of line you can use I and it brings you to the front
append
appeding text we can use a and it will add tect to the right of the cursor
we can aslo append text to the end of line with A
if you wish to append on the line below you can use you can use o
if you wish to append on the line above you can use you can use O
also if you want to insert and the end of word you can use ea
edit text
to edit one character in a word you can use r and it will replace it
to change a word you can use R and it will change the word and put you insert mode
to edit one character in a word you can use s and it will replace it
to change and entire line you can use cc or S
Did you find this article valuable?
Support George Naranjo by becoming a sponsor. Any amount is appreciated!