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