wreed4 8 lat temu
rodzic
commit
d73c452ba4
1 zmienionych plików z 1 dodań i 0 usunięć
  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"