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