add c-c remap

This commit is contained in:
sadan 2024-11-26 19:18:12 -05:00
parent 5fc347a599
commit e7a5ddfc41
No known key found for this signature in database
2 changed files with 3 additions and 0 deletions

View file

@ -87,6 +87,8 @@ vim.keymap.set("n", "<Right>", ':echoe "Use l"<CR>')
vim.keymap.set("n", "<Up>", ':echoe "Use k"<CR>') vim.keymap.set("n", "<Up>", ':echoe "Use k"<CR>')
vim.keymap.set("n", "<Down>", ':echoe "Use j"<CR>') vim.keymap.set("n", "<Down>", ':echoe "Use j"<CR>')
vim.keymap.set({"i", "v", "n"}, "<C-c>", '<CMD>echoe "Use caps"<CR>')
vim.keymap.set("i", "<Left>", '<ESC>:echoe "Use h"<CR>i') vim.keymap.set("i", "<Left>", '<ESC>:echoe "Use h"<CR>i')
vim.keymap.set("i", "<Right>", '<ESC>:echoe "Use l"<CR>i') vim.keymap.set("i", "<Right>", '<ESC>:echoe "Use l"<CR>i')
vim.keymap.set("i", "<Up>", '<ESC>:echoe "Use k"<CR>i') vim.keymap.set("i", "<Up>", '<ESC>:echoe "Use k"<CR>i')

View file

@ -25,6 +25,7 @@ end)
vim.keymap.set("n", "<leader>lg", function () vim.keymap.set("n", "<leader>lg", function ()
vsc.action("lazygit.openLazygit") vsc.action("lazygit.openLazygit")
end) end)
vim.keymap.set({"n", "i", "v"}, "<C-c>", "<CMD>echoe \"Use Caps\"<CR>")
-- for some reason, this plugin does not work with keymaps that start with <C-f> -- for some reason, this plugin does not work with keymaps that start with <C-f>
-- they are done through vsc -- they are done through vsc
-- --