summaryrefslogtreecommitdiff
path: root/lua/aotrix/remap.lua
diff options
context:
space:
mode:
authorAotrix <[email protected]>2026-03-22 16:00:16 +0100
committerAotrix <[email protected]>2026-03-22 16:00:16 +0100
commitc43dde46bb7151427219548635b77b90294c186e (patch)
tree2110fb6d620f4b26baf3f25d3dbe6c65d5e9595f /lua/aotrix/remap.lua
parent08023338451e99c007f5ba3e5af77011ee7f6e3f (diff)
silent message when switching tab
Diffstat (limited to 'lua/aotrix/remap.lua')
-rw-r--r--lua/aotrix/remap.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/aotrix/remap.lua b/lua/aotrix/remap.lua
index 7a76488..bab4231 100644
--- a/lua/aotrix/remap.lua
+++ b/lua/aotrix/remap.lua
@@ -19,5 +19,5 @@ vim.keymap.set({"n", "i", "v"}, '<C-c>', '<nop>')
vim.keymap.set("n", "<C-h>", "gT")
vim.keymap.set("n", "<C-l>", "gt")
-vim.keymap.set("n", "<C-S-h>", ":tabmove -1<CR>")
-vim.keymap.set("n", "<C-S-l>", ":tabmove +1<CR>")
+vim.keymap.set("n", "<C-S-h>", function() vim.cmd("-tabmove") end)
+vim.keymap.set("n", "<C-S-l>", function() vim.cmd("+tabmove") end)