aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin/textarea.vim
blob: 872ae4c6e92b81fc3ebe2194592a4986b6127ed0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
" Stop here if the user doesn't want ftplugin mappings
if exists('no_plugin_maps') || exists('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'