aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin/html.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-04 00:32:04 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-04 00:37:18 +1300
commitccabcefafef457e7d488ef2ee1b27b4b56e03267 (patch)
tree3e0c84ed69443ba77a37372bf98e84afa901917e /vim/ftplugin/html.vim
parentMake all lint/check/tidy maps local and silent (diff)
downloaddotfiles-ccabcefafef457e7d488ef2ee1b27b4b56e03267.tar.gz
dotfiles-ccabcefafef457e7d488ef2ee1b27b4b56e03267.zip
Break long lines in check/lint/tidy mappings
Diffstat (limited to 'vim/ftplugin/html.vim')
-rw-r--r--vim/ftplugin/html.vim6
1 files changed, 4 insertions, 2 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>