> How do you making inoremap filetype depend? > What I want is > > if (filetype == vim) then > inoremap @a AAAAA > else if (filetype == c) > inoremap @a aaaaaa > else if (filetype == vhdl) > inoremap @a AAAaaa > else > inoremap @a aaaAAA > end if
untested, but would the following work? au FileType vim inoremap @a AAAA -- Joel