aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to 'vim/ftplugin')
-rw-r--r--vim/ftplugin/html.vim6
-rw-r--r--vim/ftplugin/perl.vim11
2 files changed, 12 insertions, 5 deletions
diff --git a/vim/ftplugin/html.vim b/vim/ftplugin/html.vim
index f16bc8cf..a56ae778 100644
--- a/vim/ftplugin/html.vim
+++ b/vim/ftplugin/html.vim
@@ -1,5 +1,6 @@
" Run `tidy -errors -quiet` over buffer
-nnoremap <buffer> <silent> <LocalLeader>c :write !tidy -errors -quiet<CR>
+nnoremap <buffer> <silent> <LocalLeader>c
+ \ :write !tidy -errors -quiet<CR>
" Make a bare URL into a link to itself
function! s:UrlLink()
@@ -16,4 +17,5 @@ function! s:UrlLink()
normal! a</a>
endfunction
-nnoremap <buffer> <silent> <LocalLeader>r :<C-U>call <SID>UrlLink()<CR>
+nnoremap <buffer> <silent> <LocalLeader>r
+ \ :<C-U>call <SID>UrlLink()<CR>
diff --git a/vim/ftplugin/perl.vim b/vim/ftplugin/perl.vim
index 38c3308b..2ea4676b 100644
--- a/vim/ftplugin/perl.vim
+++ b/vim/ftplugin/perl.vim
@@ -1,6 +1,11 @@
" Run `perl -c` over buffer
-nnoremap <buffer> <silent> <LocalLeader>c :write !perl -c<CR>
+nnoremap <buffer> <silent> <LocalLeader>c
+ \ :write !perl -c<CR>
+
" Run `perlcritic` over buffer
-nnoremap <buffer> <silent> <LocalLeader>l :write !perlcritic<CR>
+nnoremap <buffer> <silent> <LocalLeader>l
+ \ :write !perlcritic<CR>
+
" Filter buffer through `perltidy`
-nnoremap <buffer> <silent> <LocalLeader>t :%!perltidy<CR>
+nnoremap <buffer> <silent> <LocalLeader>t
+ \ :%!perltidy<CR>