" Run tidy -eq -utf8 on file for the current buffer nnoremap v :exe "!tidy -eq -utf8 " . shellescape(expand("%")) " Make a bare URL into a link to itself function! UrlLink() normal yiW execute "normal i0\">\" normal E execute "normal a\" endfunction nnoremap r :call UrlLink()