mirror of
https://github.com/josean-dev/dev-environment-files.git
synced 2025-01-08 17:21:23 +01:00
Update substitute.lua
This commit is contained in:
parent
8600b31188
commit
c623c76242
1 changed files with 4 additions and 4 deletions
|
@ -9,9 +9,9 @@ return {
|
||||||
-- set keymaps
|
-- set keymaps
|
||||||
local keymap = vim.keymap -- for conciseness
|
local keymap = vim.keymap -- for conciseness
|
||||||
|
|
||||||
vim.keymap.set("n", "s", substitute.operator, { desc = "Substitute with motion" })
|
keymap.set("n", "s", substitute.operator, { desc = "Substitute with motion" })
|
||||||
vim.keymap.set("n", "ss", substitute.line, { desc = "Substitute line" })
|
keymap.set("n", "ss", substitute.line, { desc = "Substitute line" })
|
||||||
vim.keymap.set("n", "S", substitute.eol, { desc = "Substitute to end of line" })
|
keymap.set("n", "S", substitute.eol, { desc = "Substitute to end of line" })
|
||||||
vim.keymap.set("x", "s", substitute.visual, { desc = "Substitute in visual mode" })
|
keymap.set("x", "s", substitute.visual, { desc = "Substitute in visual mode" })
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue