1 parent 3c064f5 commit 6224e1bCopy full SHA for 6224e1b
1 file changed
nvim/.config/nvim/lua/mappings/misc.lua
@@ -42,9 +42,10 @@ c("x!!", "x !sudo tee > /dev/null %") -- Save as sudo
42
-- Search
43
n("<leader>/", [[/\<\><Left><Left>]]) -- Search whole word
44
x("&", '"hy:%s/<C-r>h//gc<Left><Left><Left>') -- Substitute selection
45
-n("/", [[/\v]]) -- Very magic regex
46
-n("?", [[:%s/\v]]) -- Very magic regex
47
-x("?", [[:s/\v]]) -- Very magic regex
+
+n("<Space>/", [[/\v]]) -- Very magic regex
+n("<Space>?", [[:%s/\v]]) -- Very magic regex
48
+x("<Space>?", [[:s/\v]]) -- Very magic regex
49
50
-- Misc
51
x(".", ":normal .<CR>", {silent = true}) -- Dot repeat
0 commit comments