diff options
-rw-r--r-- | vim/after/ftplugin/html.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/after/ftplugin/html.vim b/vim/after/ftplugin/html.vim index c7bdfc7d..7d54b346 100644 --- a/vim/after/ftplugin/html.vim +++ b/vim/after/ftplugin/html.vim @@ -1,3 +1,6 @@ +" Run tidy -eq -utf8 on file for the current buffer +nnoremap <leader>v :exe "!tidy -eq -utf8 " . shellescape(expand("%"))<CR> + " Make a bare URL into a link to itself function! UrlLink() normal ByE |