Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
YodaEmbedding committed May 29, 2024
1 parent e8d1d03 commit 92816c3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions nvim/.config/nvim/lua/mappings/misc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ c("x!!", "x !sudo tee > /dev/null %") -- Save as sudo
-- Search
n("<leader>/", [[/\<\><Left><Left>]]) -- Search whole word
x("&", '"hy:%s/<C-r>h//gc<Left><Left><Left>') -- Substitute selection
n("/", [[/\v]]) -- Very magic regex
n("?", [[:%s/\v]]) -- Very magic regex
x("?", [[:s/\v]]) -- Very magic regex

n("<Space>/", [[/\v]]) -- Very magic regex
n("<Space>?", [[:%s/\v]]) -- Very magic regex
x("<Space>?", [[:s/\v]]) -- Very magic regex

-- Misc
x(".", ":normal .<CR>", {silent = true}) -- Dot repeat
Expand Down

0 comments on commit 92816c3

Please sign in to comment.