" Stop here if the user doesn't want ftplugin mappings if exists('g:no_plugin_maps') || exists('g:no_textarea_maps') finish endif " Switch to mail filetype, just because that's very often the contents of text " areas I edit using TextEditorAnywhere nnoremap f \ :setlocal filetype=mail let b:undo_ftplugin = '|nunmap f'