diff options
Diffstat (limited to 'lua/config')
-rw-r--r-- | lua/config/lazy.lua | 3 | ||||
-rw-r--r-- | lua/config/map.lua | 4 |
2 files changed, 5 insertions, 2 deletions
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", "<C-s>g", "z=1<cr><cr>", { 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/\\<<C-R><C-W>\\>//gc<Left><Left><Left>", { desc = "Replace word under cursor in file" }) +map("n", " sl", "", { desc = "Replace word under cursor on current line" }) |