-
-t
: open file in truncation mode -
-R
: open a file in read-only mode. -
-W break/scroll
: wrap the lines by line breaks / scrolling
-
:w
: Save the file. -
:q
: Quit. Warn user if the file is changed but unsaved. -
:q!
: Force quit (i.e. Do not save the file and force quit.). -
:wq
: Save then quit.
- dd delete the entire line that the cursor is currently on.
- 0 Move the cursor to the beginning of the line.
- $ Move the cursor to the end of the line.
- w Move forward one word (delimited by a white space or a new line).
- b Move backward one word (delimited by a white space or a new line).
Not yet ready.
- See tab as 4 white spaces
- Adjust the screen resizing and scrolling