Commit f608c54

mo khan <mo@mokhan.ca>
2014-05-30 23:13:17
substitute full matches when inline a temp.
1 parent f4bd106
Changed files (1)
vimrc
@@ -145,7 +145,7 @@ function! InlineTemp()
   normal "ayiw
   normal $"byiW
   normal dd
-  exec ":.,/end/ s/" . @a . '/' . @b . '/'
+  exec ":.,/end/ s:\\<" . @a . "\\>:" . @b . ":gI"
   call setpos(".", cursor_position)
 endfunction