vim cmds code example Example: vim commands vim filename i *Insert/Edit Text* *Esc* :wq (save the file and exit to commands)