On Tue, Nov 11, 2008 at 12:31, David Liang <[EMAIL PROTECTED]> wrote: > I'm not trying to change any mappings when I switch filetypes. > Instead, I want to define a set of alternate mappings unique to the > filetype which I can later switch to by calling SetAltMaps().
Then maybe you can define only one SetAltMaps() function, outside of any autocommand, and inside that function you use an if/elseif structure to set the mappings based on the current filetype. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
