main
Dominik Madarász 2024-11-10 17:40:17 +01:00
parent 1a9d43b3b7
commit da9137651d
1 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ vim.keymap.set("n", "<C-{>", "<C-{>zz")
vim.keymap.set("n", "n", "nzzzv")
vim.keymap.set("n", "N", "Nzzzv")
vim.keymap.set("n", "<tab>", "<nop>")
vim.keymap.set("n", "<C-m>", "<C-6>")
vim.keymap.set("n", "<A-m>", "<C-6>")
-- terminal remaps
vim.keymap.set("t", "<Esc>", "<C-\\><C-n>", { noremap = true, silent = true })
@ -79,9 +79,9 @@ vim.api.nvim_set_keymap('n', '<A-Up>', '<C-w>k', { noremap = true, silent = true
vim.api.nvim_set_keymap('n', '<A-Right>', '<C-w>l', { noremap = true, silent = true })
-- swap between windows
vim.keymap.set("n", "<A-m>", "<C-w>w")
vim.keymap.set("v", "<A-m>", "<C-w>w")
vim.keymap.set("i", "<A-m>", "<C-w>w")
vim.keymap.set("n", "<C-m>", "<C-w>w")
vim.keymap.set("v", "<C-m>", "<C-w>w")
vim.keymap.set("i", "<C-m>", "<C-w>w")
vim.api.nvim_set_keymap("t", "<A-m>", "<C-\\><C-O><C-w>w", { noremap = true, silent = true })