From c623c76242a9b9f5d5c3717d0c04b618de10a23e Mon Sep 17 00:00:00 2001 From: Marcus Kannicht <27237080+kannicht@users.noreply.github.com> Date: Wed, 24 Apr 2024 10:15:55 +0200 Subject: [PATCH] Update substitute.lua --- .config/nvim/lua/josean/plugins/substitute.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/nvim/lua/josean/plugins/substitute.lua b/.config/nvim/lua/josean/plugins/substitute.lua index e952b65..b5ff1b6 100644 --- a/.config/nvim/lua/josean/plugins/substitute.lua +++ b/.config/nvim/lua/josean/plugins/substitute.lua @@ -9,9 +9,9 @@ return { -- set keymaps local keymap = vim.keymap -- for conciseness - vim.keymap.set("n", "s", substitute.operator, { desc = "Substitute with motion" }) - vim.keymap.set("n", "ss", substitute.line, { desc = "Substitute line" }) - vim.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("n", "s", substitute.operator, { desc = "Substitute with motion" }) + keymap.set("n", "ss", substitute.line, { desc = "Substitute line" }) + keymap.set("n", "S", substitute.eol, { desc = "Substitute to end of line" }) + keymap.set("x", "s", substitute.visual, { desc = "Substitute in visual mode" }) end, }