Skip to content

Commit

Permalink
fix: Buffer search and replace mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Allaman committed May 30, 2024
1 parent a51d0f7 commit c95cf73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/config/mappings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ map("n", "<leader>fn", "<cmd>enew<cr>", { desc = "New file" })
map("n", "<leader>fs", "<cmd>w<cr>", { desc = "Save file" })

-- search and replace is a pain with a German keyboard layout
map({ "v", "n" }, "<leader>sr", ":%s/", { desc = "Buffer search and replace" })
map({ "n" }, "<leader>sr", ":%s/", { desc = "Buffer search and replace" })

-- toggles
map("n", "<leader>tn", function()
Expand Down

0 comments on commit c95cf73

Please sign in to comment.