summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vimrc3
1 files changed, 1 insertions, 2 deletions
diff --git a/vimrc b/vimrc
index 743f314..6f8d7e7 100644
--- a/vimrc
+++ b/vimrc
@@ -426,8 +426,7 @@ function! Help(visual, iskeyword, command)
endfor
if a:visual
let l:oldreg = @a
- " XXX this seems to not include the end of the selection - why?
- normal! `<"ay`>gv
+ normal! gv"aygv
let l:word = @a
let @a = l:oldreg
else