From 4406796058dc96e514f3f1e9361ede647ee68325 Mon Sep 17 00:00:00 2001 From: TechDufus Date: Tue, 19 Dec 2023 13:17:22 -0600 Subject: [PATCH] adding macros --- roles/neovim/files/lua/techdufus/core/keymaps.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/neovim/files/lua/techdufus/core/keymaps.lua b/roles/neovim/files/lua/techdufus/core/keymaps.lua index 83761349..02df9035 100644 --- a/roles/neovim/files/lua/techdufus/core/keymaps.lua +++ b/roles/neovim/files/lua/techdufus/core/keymaps.lua @@ -93,6 +93,11 @@ keymap(normal_mode, "k", "ddkP", opts) keymap(normal_mode, "", "zz", opts) keymap(normal_mode, "", "zz", opts) +-- MACROS +keymap(normal_mode, "Q", "@qj", opts) +keymap(visual_block_mode, "Q", ":norm @qgv", opts) + + -- Visual Block -- -- Move text up and down keymap(visual_block_mode, "J", ":move '>+1gv-gv", opts)