Change file
- Type vim hello.txt. The editor opens, the cursor is on the "h" of the "hello".
- Press ~ to change the case of "h" to be "H"
- Press 5l (lower case L) to move 5 characters to the "w".
- Press rW to replace "w" by "W".
- Press o to switch to insert mode on the line below.
- Type in: "and welcome to vim!"
- Press ENTER and continue typing: "This is the 3rd line.
- Press ESC to switch back to command mode.
- Type :wq this will save the file and quit vim.