diff options
Diffstat (limited to 'vim')
-rw-r--r-- | vim/ftplugin/html.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/ftplugin/html.vim b/vim/ftplugin/html.vim index a56ae778..c756eb80 100644 --- a/vim/ftplugin/html.vim +++ b/vim/ftplugin/html.vim @@ -2,6 +2,10 @@ nnoremap <buffer> <silent> <LocalLeader>c \ :write !tidy -errors -quiet<CR> +" Filter buffer through `tidy` +nnoremap <buffer> <silent> <LocalLeader>t + \ :%!tidy -quiet<CR> + " Make a bare URL into a link to itself function! s:UrlLink() |