Pretty much the title. When I edit my
vimrc file and it has the line
the changes don't take effect until I restart vim. This holds true even if I don't have the
bundle folder in
~/.vim, and if this line is at the end or beginning of the
vimrc file. I guess this shouldn't be the case, so what's going on?
Edit to clear things:
I'm trying to reload the
.vimrc file using
:source $MYVIMRC which succeed when I try this without the
Edit: some details
This is on a freshly installed Linux mint, and the problem appeared on my various attempts to
:iabbreviate commands. Commands that change the appearance (e.g.
set number seem to work)
Edit: some more details
Here is an example of something that doesn't work with my
:set number! " To indicate that I do reload the file " replacing gamma with \gamma, was here when opened gvim :autocmd FileType tex :iabbrev <buffer> gamma \gamma " replacing lambda with \lambda added after launching gvim :autocmd FileType tex :iabbrev <buffer> lambda \lambda call pathogen#infect()
Adding the lambda file, and then running
source ~/.vimrc with a
tex file open in the background resulted with no effect when typing
lambda. I had to restart gvim.