diff options
Diffstat (limited to 'vim/after/ftplugin/html.vim')
-rw-r--r-- | vim/after/ftplugin/html.vim | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/vim/after/ftplugin/html.vim b/vim/after/ftplugin/html.vim deleted file mode 100644 index 38b71656..00000000 --- a/vim/after/ftplugin/html.vim +++ /dev/null @@ -1,11 +0,0 @@ -" 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 yiW - execute "normal i<a href=\"\<C-R>0\">\<Esc>" - normal E - execute "normal a</a>\<Esc>" -endfunction -nnoremap <silent> <leader>r :<C-U>call UrlLink()<CR> |