aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin/textarea.vim
blob: b5c5ca98f231e133e793c30eadcaed3834d9fc3e (plain)
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'