And I add this in the vimrc file:
autocmd FileType markdown iabbrev mkdc <!--i--><left><left><left>
What I want to do is source the vimrc and make the abbreviation effective for the current file I'm editing.
I have tried:
:!sc
,:redraw!
:source $MYVIMRC
:q
and rerun Vim
But it seems that only the last method works. Is there any way to get this to work without leaving Vim? Why doesn't the second method as stated in all other related answers work in this situation?
vim -u NONE
. Odds are there's either something in your vimrc or plugins that's messing with it.