vimrc file code example Example 1: how to open vimrc file in linux vim ~/.vimrc Example 2: vimrc localted at: /etc/vim/vimrc or make your own ~/.vimrc