main
Dominik Madarász 2024-11-10 17:11:33 +01:00
parent b37e39ea5e
commit c1a963779b
1 changed files with 6 additions and 0 deletions

View File

@ -53,6 +53,12 @@ vim.api.nvim_set_keymap('n', '<A-Down>', '<C-w>j', { noremap = true, silent = tr
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.api.nvim_set_keymap("t", "<A-m>", "<C-\\><C-O><C-w>w", { noremap = true, silent = true })
-- greatest remap ever
vim.keymap.set("x", "<leader>p", [["_dP]])