.config/nvim/lua/config/commands.lua

changeset 1080
83c9f8460bde
parent 1079
b59861305252
child 1095
226221dc1d6b
--- a/.config/nvim/lua/config/commands.lua
+++ b/.config/nvim/lua/config/commands.lua
@@ -26,7 +26,7 @@ command("Grep", function(ctx)
   }, " ")
 
   fn.setqflist({}, " ", { title = grepcmd, lines = fn.systemlist(grepcmd) })
-  fn.setreg("/", [[\V]] .. pattern)
+  fn.setreg("/", [[\v]] .. pattern)
   cmd.copen()
   cmd.cfirst()
 end, { nargs = "*", complete = "file" })

mercurial