From c1a963779ba4723bd4718e0d0e80d96190a96f4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Sun, 10 Nov 2024 17:11:33 +0100 Subject: [PATCH] alt+m --- lua/zak/remap.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lua/zak/remap.lua b/lua/zak/remap.lua index 99ca4f3..b8c7855 100644 --- a/lua/zak/remap.lua +++ b/lua/zak/remap.lua @@ -53,6 +53,12 @@ vim.api.nvim_set_keymap('n', '', 'j', { noremap = true, silent = tr vim.api.nvim_set_keymap('n', '', 'k', { noremap = true, silent = true }) vim.api.nvim_set_keymap('n', '', 'l', { noremap = true, silent = true }) +-- swap between windows +vim.keymap.set("n", "", "w") +vim.keymap.set("v", "", "w") +vim.keymap.set("i", "", "w") +vim.api.nvim_set_keymap("t", "", "w", { noremap = true, silent = true }) + -- greatest remap ever vim.keymap.set("x", "p", [["_dP]])