From c63da08e0cad6c38905b06b83d178a443393ac7e Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Thu, 17 Oct 2024 12:37:41 +0200 Subject: checkpoint --- lua/config/lazy.lua | 3 +-- lua/config/map.lua | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'lua') diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua index 15ac268..5d61d75 100644 --- a/lua/config/lazy.lua +++ b/lua/config/lazy.lua @@ -52,8 +52,7 @@ require("lazy").setup({ event = "VeryLazy", config = function() require("lsp_signature").setup({ - doc_lines = 0, - hint_enable = false, + -- hint_enable = false, }) end, }, diff --git a/lua/config/map.lua b/lua/config/map.lua index 61bb952..b223650 100644 --- a/lua/config/map.lua +++ b/lua/config/map.lua @@ -92,3 +92,7 @@ map("n", "g", "z=1", { noremap = true }) map("n", " td", function() vim.diagnostic.enable(verbose_toggle(vim.diagnostic.is_enabled(), "diagnostics")) end, { desc = "Toggle diagnostics" }) + +-- editing +map("n", " sf", ":%s/\\<\\>//gc", { desc = "Replace word under cursor in file" }) +map("n", " sl", "", { desc = "Replace word under cursor on current line" }) -- cgit v1.2.3