Hi,
I use the following autocmd in my ~/.vimrc to load a source file with my
personal vim mappings while editing a tex file:
autocmd FileType tex source ~/Dot.vilatexrc
This works fine. However, the mappings continue to exist even after I
open a different filetype without restarting vim. Is
C.G.Senthilkumar. wrote:
Hi,
I use the following autocmd in my ~/.vimrc to load a source file with my
personal vim mappings while editing a tex file:
autocmd FileType tex source ~/Dot.vilatexrc
This works fine. However, the mappings continue to exist even after I
open a different filetype