enter insert mode vim code example
Example 1: vim command to open a file
vim filename
i
*Insert/Edit Text*
*Esc*
:wq (save the file and exit to commands)
Example 2: add enter vim
" Quickly insert an empty new line without entering insert mode
nnoremap o o
nnoremap O O