diff options
-rw-r--r-- | vim/ftplugin/html.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/ftplugin/html.vim b/vim/ftplugin/html.vim index b305a223..b4eb9e6b 100644 --- a/vim/ftplugin/html.vim +++ b/vim/ftplugin/html.vim @@ -7,8 +7,8 @@ nnoremap <LocalLeader>v :exe :<C-U>call <SID>HTMLTidy()<CR> " Make a bare URL into a link to itself function! s:UrlLink() normal! yiW - execute "normal! i<a href=\"\<C-R>0\">\<Esc>" + execute 'normal! i<a href="<C-R>0><Esc>' normal! E - execute "normal! a</a>\<Esc>" + execute 'normal! a</a>\<Esc>' endfunction nnoremap <silent> <LocalLeader>r :<C-U>call <SID>UrlLink()<CR> |