fix(mappings): change hover/signature_help mappings to K/<C-S>
This commit is contained in:
@@ -94,13 +94,6 @@ vim.keymap.set({ "x" }, ">", ">gv")
|
||||
-- Remove default mappings
|
||||
vim.keymap.set("", "<C-LeftMouse>", "")
|
||||
vim.keymap.set("n", "gr", "<Nop>")
|
||||
vim.keymap.set("n", "K", function()
|
||||
if vim.bo.filetype == "vim" or vim.bo.filetype == "help" then
|
||||
vim.cmd("help " .. vim.fn.expand("<cword>"))
|
||||
else
|
||||
vim.cmd("Man " .. vim.fn.expand("<cword>"))
|
||||
end
|
||||
end)
|
||||
|
||||
-- Remove right-click menu items
|
||||
vim.cmd.aunmenu({ "PopUp.-1-" })
|
||||
|
||||
Reference in New Issue
Block a user