1. Type vim hello.txt
  2. Press i to switch to insert mode.
  3. Type in "hello world".
  4. Press ESC to switch back to command mode.
  5. Type :wq this will write out the file and quit vim.