Remove optional keybinding, change explorer name

This commit is contained in:
2025-12-31 12:53:11 +05:00
parent 8b850041be
commit 10759108ae
3 changed files with 0 additions and 12 deletions

View File

@ -126,12 +126,6 @@ function M.setup()
vim.api.nvim_create_user_command("GoExtractInterface", M.extract_interface, {
desc = "Extract interface from Go struct under cursor",
})
-- Optional: Add keybinding
vim.keymap.set("n", "<leader>cei", M.extract_interface, {
desc = "Extract interface from struct",
silent = true,
})
end
return M

View File

@ -341,12 +341,6 @@ function M.setup()
vim.api.nvim_create_user_command("GoGenerateConstructor", M.generate_constructor, {
desc = "Generate constructor for Go struct under cursor",
})
-- Optional keybinding
vim.keymap.set("n", "<leader>cec", M.generate_constructor, {
desc = "Generate constructor for struct",
silent = true,
})
end
return M