aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin/textarea.vim
blob: 7877c8db6ce10fed1af03f38154a2bc087f40397 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
" 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 <buffer> <LocalLeader>f
      \ :<C-U>setlocal filetype=mail<CR>
let b:undo_ftplugin = 'nunmap <buffer> <LocalLeader>f'