change opened buffers keymap and fix replace selection
This commit is contained in:
parent
7d9a3c7c73
commit
aff3b8898c
2 changed files with 3 additions and 3 deletions
|
|
@ -29,7 +29,7 @@ vim.keymap.set("n", "<leader>ru",
|
|||
[[:%s/\<<C-r><C-w>\>/<C-r><C-w>/gI<Left><Left><Left>]],
|
||||
{ desc = "[R]eplace word [U]nder cursor" })
|
||||
vim.keymap.set("x", "<leader>r",
|
||||
[["hy:%s/\<C-r>h/<C-r>h/gI<Left><Left><Left>]],
|
||||
[["hy:%s/<C-r>h/<C-r>h/gI<Left><Left><Left>]],
|
||||
{ desc = "[R]eplace selection" })
|
||||
|
||||
vim.keymap.set("n", "S", ":w<cr>")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue