open file in vim code example
Example 1: how to open vimrc file in linux
vim ~/.vimrc
Example 2: vim command to open a file
vim filename
i
*Insert/Edit Text*
*Esc*
:wq (save the file and exit to commands)
vim ~/.vimrc
vim filename
i
*Insert/Edit Text*
*Esc*
:wq (save the file and exit to commands)