I have to use w! command to change my vimrc code example Example: how to open vimrc file in linux vim ~/.vimrc