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:
:qand 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?