I am having an issue where anything I enter into my .vimrc
file is not being picked up, regardless of how many times I add it / close the file / re-open it, etc. Here is the most basic example of what I came up with: https://gyazo.com/ae18bd40f4dec269fb36d723865d5efe.
As you can see, entering in
inoremap xxx1 hello
Into my vimrc
file does absolutely nothing. However, as soon as I type that command in directly it works just fine. So, what might be going on here? (Note that some commands I have in my vimrc
file from previous do work.
Note the above command has been in my vimrc file for days, so the question isn't asking about how to refresh an already-opened vimrc file, but basically why the commands there aren't being recognized anymore.
~/.vimrc
with a.
at the beginning of the name. In Windows it's_vimrc
. Is it in your home directory? You can actually use:e $MYVIMRC
to edit the actual file (assuming it exists.)vimrc
in the.vim
directory. Want to post it as an answer?~/.vim/vimrc
file is a valid file path... But if the~/.vimrc
file exists, it takes priority. Yes, I'll post an answer.