aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/ftplugin/html.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/vim/ftplugin/html.vim b/vim/ftplugin/html.vim
index 7400326c..64cf3175 100644
--- a/vim/ftplugin/html.vim
+++ b/vim/ftplugin/html.vim
@@ -8,7 +8,9 @@ nnoremap <LocalLeader>v :exe :<C-U>call <SID>HTMLTidy()<CR>
function! s:UrlLink()
" Yank this whole whitespace-separated word
- normal! yiW
+ normal! W
+ normal! B
+ normal! yE
" Open a link tag
normal! i<a href="">
" Paste the URL into the quotes