From d31a02b736297b0e6d8e24360a25dedb38c7d864 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 17 Jun 2015 13:21:04 +1200 Subject: Use surround commands to get current word --- vim/after/ftplugin/html.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vim/after/ftplugin/html.vim') diff --git a/vim/after/ftplugin/html.vim b/vim/after/ftplugin/html.vim index 7d54b346..ef7720e1 100644 --- a/vim/after/ftplugin/html.vim +++ b/vim/after/ftplugin/html.vim @@ -3,7 +3,7 @@ nnoremap v :exe "!tidy -eq -utf8 " . shellescape(expand("%")) " Make a bare URL into a link to itself function! UrlLink() - normal ByE + normal yiW execute "normal i0\">\" normal E execute "normal a\" -- cgit v1.2.3