I'm re-learning Vim, and now I'm building my own ~/.vim/.vimrc file. Yes, it is store under the .vim/ folder, which is created by MacOSX after I updated to Big Sur. What I want is simply this
set belloff=all
when I put this line in ~/.vimrc it works, while in ~/.vim/.vimrc it's not. So my questions are:
- What's the first file Vim read so it knows Oh, so Mr. .vimrc your home is at
$HOME(or~)? - Which file should I change so that Vim will say Ok, I should read Mr. .vimrc from
~/.vim/?
:h vimrcand read what is written there? – Matt Jan 03 '21 at 15:03~/.vimisvimrcnot.vimrc. You only need one dot:~/.vimrcor~/.vim/vimrc. – NeilG Aug 13 '23 at 13:11