Skip to content

Commit

Permalink
feat(keymaps)!: redraw is now mapped to <leader>ur (UI redraw)
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jan 11, 2023
1 parent ed06282 commit 1e4b958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lazyvim/config/keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ vim.keymap.set("n", "<leader>`", "<cmd>e #<cr>", { desc = "Switch to Other Buffe
vim.keymap.set({ "i", "n" }, "<esc>", "<cmd>noh<cr><esc>", { desc = "Escape and clear hlsearch" })

-- Clear search and redraw
vim.keymap.set("n", "<leader>r", "<cmd>noh<cr><cmd>redraw<cr><c-l>", { desc = "Redraw and clear hlsearch" })
vim.keymap.set("n", "<leader>ur", "<cmd>noh<cr><cmd>redraw<cr><c-l>", { desc = "Redraw and clear hlsearch" })

vim.keymap.set("n", "gw", "*N")
vim.keymap.set("x", "gw", "*N")
Expand Down

0 comments on commit 1e4b958

Please sign in to comment.