aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-19 15:24:28 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-19 15:24:28 +1200
commit6daae79aff34c7f90c21b0fab73dbe1b2601c631 (patch)
tree8b41157ddc8fbe3449baade848df0cc053fff068
parentMove 'foldmethod' definitions out to filetypes (diff)
downloaddotfiles-6daae79aff34c7f90c21b0fab73dbe1b2601c631.tar.gz
dotfiles-6daae79aff34c7f90c21b0fab73dbe1b2601c631.zip
Fix a comment in mail Vim ftplugin
-rw-r--r--vim/ftplugin/textarea.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/ftplugin/textarea.vim b/vim/ftplugin/textarea.vim
index 872ae4c6..c6c2f1fd 100644
--- a/vim/ftplugin/textarea.vim
+++ b/vim/ftplugin/textarea.vim
@@ -3,8 +3,8 @@ 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'