diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-03 23:58:29 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-03 23:59:31 +1300 |
commit | f1a27833c012d3c0550f2d97839663a5e5ec7171 (patch) | |
tree | 7aa8c92074465913f22d9d0ab2568e9b65d4e7e1 /vim/ftplugin | |
parent | Use long form options for tidy(1) Vim call (diff) | |
download | dotfiles-f1a27833c012d3c0550f2d97839663a5e5ec7171.tar.gz dotfiles-f1a27833c012d3c0550f2d97839663a5e5ec7171.zip |
Improve comments on check/lint/tidy maps
Diffstat (limited to 'vim/ftplugin')
-rw-r--r-- | vim/ftplugin/html.vim | 2 | ||||
-rw-r--r-- | vim/ftplugin/perl.vim | 6 |
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> |