about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-29 22:34:27 +0200
committerSoispha <soispha@vhack.eu>2023-08-29 22:34:27 +0200
commitc55ee1aa36f9c6cfb3799066196d1bd7ffc58d5c (patch)
treef0aa78f35d9c90969d77b90cad991098ace68fdb
parentFix(sys/font/font.local): Remove comment, as it's not accepted in the (diff)
downloadnixos-config-c55ee1aa36f9c6cfb3799066196d1bd7ffc58d5c.zip
Feat(hm/conf/nvim/maps): Add keymaps for tab movement
-rw-r--r--hm/soispha/conf/nvim/mappings/default.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/hm/soispha/conf/nvim/mappings/default.nix b/hm/soispha/conf/nvim/mappings/default.nix
index 1d00b0a4..b73db9c9 100644
--- a/hm/soispha/conf/nvim/mappings/default.nix
+++ b/hm/soispha/conf/nvim/mappings/default.nix
@@ -43,6 +43,20 @@
         }
         normal_and_insert;
       normalVisualOp = {
+        # FIXME: Add the below keymappings, when alacritty gets support for the kitty
+        # keyboard protocol <2023-08-29>
+
+        # "<C-Tab>"
+        "ztn" = {
+          action = "<cmd>tabnext<CR>";
+          desc = "cycle to the next tab";
+        };
+        # "<S-C-Tab>"
+        "ztp" = {
+          action = "<cmd>tabprevious<CR>";
+          desc = "cycle to the previous tab";
+        };
+
         # yank/ cut to the system clipboard
         "<leader>y" = {
           action = "\"+y";