aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to 'vim/ftplugin')
-rw-r--r--vim/ftplugin/html.vim2
-rw-r--r--vim/ftplugin/perl.vim6
2 files changed, 4 insertions, 4 deletions
diff --git a/vim/ftplugin/html.vim b/vim/ftplugin/html.vim
index 3bd1dbdf..520e4fe2 100644
--- a/vim/ftplugin/html.vim
+++ b/vim/ftplugin/html.vim
@@ -1,4 +1,4 @@
-" Run `tidy -errors -quiet` for the current buffer
+" Run `tidy -errors -quiet` over buffer
nnoremap <LocalLeader>c :write !tidy -errors -quiet -utf8<CR>
" Make a bare URL into a link to itself
diff --git a/vim/ftplugin/perl.vim b/vim/ftplugin/perl.vim
index eeed2bb7..3355227e 100644
--- a/vim/ftplugin/perl.vim
+++ b/vim/ftplugin/perl.vim
@@ -1,6 +1,6 @@
-" Run perl -c on file for the current buffer
+" Run `perl -c` over buffer
nnoremap <LocalLeader>pc :write !perl -c<CR>
-" Run perlcritic on the file for the current buffer
+" Run `perlcritic` over buffer
nnoremap <LocalLeader>pl :write !perlcritic<CR>
-" Run the current buffer through perltidy
+" Filter buffer through `perltidy`
nnoremap <LocalLeader>pt :%!perltidy<CR>