keybinds++

This commit is contained in:
sadanslargehole 2024-03-17 23:49:54 -04:00
parent 297db60cf3
commit d7f03285b0
No known key found for this signature in database
GPG key ID: B2E2F4A5161A7800

View file

@ -49,3 +49,8 @@ vim.keymap.set("n", "gd", vim.lsp.buf.definition, {})
vim.keymap.set("n", "gD", vim.lsp.buf.declaration, {})
vim.keymap.set("n", "gi", vim.lsp.buf.implementation, {})
vim.keymap.set("n", "<C-.>", vim.lsp.buf.code_action, {})
-- copy and paste
vim.keymap.set("v", "<A-c>", "\"+y", {})
vim.keymap.set("n", "<A-c>", "\"+yy", {})
vim.keymap.set("v", "<A-v>", "\"+p", {})
vim.keymap.set("n", "<A-v>", "\"+p", {})