Section I.
- GHJK Move Cursor
- : q! : Forced exit Vim
- X: Delete the character at the cursor
- I: Insert at cursor
- A: Additional text
- : Wq: Save the document and exit
Section II
- DW: Delete a word
- d$: Delete to end of line
- De: Delete the cursor at the end of the word
- Number W: Jumps to the front of the next digit word
- Number e: Jump to the end of a number of words
- 0: Jump to the beginning of the line
- D Digit W: delete the number of words from the beginning of the cursor
- DD: Delete entire row
- U: Undo Previous
- U: Undo the action on a line
Section III
- P: Paste the last deleted text at the cursor
- DD: Delete entire row and save to clipboard
- Rx: The character at the replacement cursor is X
- Ce: Removes the cursor to the ending character and enters insert mode
- CW: Delete Word and enter insert mode
- C $: Delete to end of line and enter insert mode
Fourth quarter
- Ctrl+g: Displays file details, and the number of lines where the cursor is located
- G: To the end of the text
- GG: To the head of the text
- Number of rows +g: Jump to target row
- /find content: Find, n look backwards, n search forward
- Ctrl+0: Back to start position
- %: Find the parentheses that match it
- : s/old/new: replace old with new
- : s/old/new/g: Entire row is replaced with new
- :%s/old/new/g: Global substitution
Fifth Quarter
- :! : Execute terminal command
- :! LS: List files
- : w FileName: Save to filename file
- :! RM FileName: Deleting files
- V: Then enter the visual mode, in the input: w filename saved to the specified file
- : R FileName: Inserts the contents of the file into the current edit area
- : R! Dir: inserting the dir list into the current file
Sixth quarter
- O: Reinsert one line in the next row, into insert mode
- O: Re-opening a line on the previous line to enter insert mode
- A: Insert, enter insert mode
- E: Jump at the end of the word
- R: Enter insert mode
- V: Enter visual mode, Y (yank==copy) Highlight area, p insert copied content
- YW: Copy a character
- y$: Copy to end of line
- : Set HLS is: Highlight find
- : Nohlsearch: Disable highlighting
"9-20" vimtutor study notes