I have written the following mapping in my vimrc:
autocmd FileType python :iabbrev <buffer> for for item in:<left>
After I source the python file it works. However, now whenever I type in
for in the vimrc file, I get that same iabbrev behavior, even if I re-set
ft=vim in that file. Why does this abbreviation occur across/outside of files I specify? Is there a way to get rid of this?