diff options
Diffstat (limited to 'vim/ftplugin/textarea.vim')
-rw-r--r-- | vim/ftplugin/textarea.vim | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/vim/ftplugin/textarea.vim b/vim/ftplugin/textarea.vim index 872ae4c6..5cdb2bba 100644 --- a/vim/ftplugin/textarea.vim +++ b/vim/ftplugin/textarea.vim @@ -3,8 +3,11 @@ 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 +" 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 |