Updated config
This commit is contained in:
@@ -40,6 +40,11 @@ return {
|
||||
},
|
||||
},
|
||||
},
|
||||
commands = {
|
||||
history = {
|
||||
view = "popup",
|
||||
},
|
||||
},
|
||||
routes = {
|
||||
{
|
||||
filter = {
|
||||
@@ -61,8 +66,8 @@ return {
|
||||
bottom_search = true,
|
||||
command_palette = true,
|
||||
long_message_to_split = true,
|
||||
inc_rename = false,
|
||||
lsp_doc_border = false,
|
||||
inc_rename = true,
|
||||
lsp_doc_border = true,
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
--- @type LazyPluginSpec[]
|
||||
return {
|
||||
{
|
||||
"smjonas/inc-rename.nvim",
|
||||
config = true,
|
||||
},
|
||||
{
|
||||
"MagicDuck/grug-far.nvim",
|
||||
config = true,
|
||||
|
||||
@@ -28,6 +28,9 @@ local on_attach = function(client, bufnr)
|
||||
require("tiny-code-action").code_action()
|
||||
end, opts("Get code actions"))
|
||||
vim.keymap.set("n", "<leader>vr", function()
|
||||
return ":IncRename " .. vim.fn.expand("<cword>")
|
||||
end, { expr = true, silent = true, buffer = bufnr, desc = "Rename symbol" })
|
||||
vim.keymap.set("n", "<leader>vn", function()
|
||||
vim.lsp.buf.rename()
|
||||
end, opts("Rename symbol"))
|
||||
vim.keymap.set("n", "<leader>vh", function()
|
||||
|
||||
Reference in New Issue
Block a user