Explorar el Código

Fixed visual *

wreed4 hace 8 años
padre
commit
d73c452ba4
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      vimrc

+ 1 - 0
vimrc

@@ -735,6 +735,7 @@ function! VisualSelection(direction) range
 
     let l:pattern = escape(@", '\\/.*$^~[]')
     let l:pattern = substitute(l:pattern, "\n$", "", "")
+    let l:pattern = '\<'.l:pattern.'\>'
 
     if a:direction == 'b'
         execute "normal ?" . l:pattern . "^M"