blob: 5cdb2bba2a788079441e46b8c2b3c507a69b902a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
" Stop here if the user doesn't want ftplugin mappings
if exists('no_plugin_maps') || exists('no_textarea_maps')
finish
endif
" Local mapping to switch to mail filetype, just because that's very often the
" contents of text areas I edit using TextEditorAnywhere
nnoremap <buffer> <LocalLeader>f
\ :<C-U>setlocal filetype=mail<CR>
let b:undo_ftplugin = 'nunmap <buffer> <LocalLeader>f'
" #s expands to the #signature tag used in Cerb
inoreabbrev #s #signature
|