From ab93172f38049cb370a21540fb6e8bfa17512868 Mon Sep 17 00:00:00 2001 From: Jonas H Date: Sun, 10 May 2026 09:34:27 +0200 Subject: [PATCH] nvim --- nvim/.config/nvim/lua/mappings.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nvim/.config/nvim/lua/mappings.lua b/nvim/.config/nvim/lua/mappings.lua index a596056..d55b2f8 100644 --- a/nvim/.config/nvim/lua/mappings.lua +++ b/nvim/.config/nvim/lua/mappings.lua @@ -40,6 +40,11 @@ map("v", "/", "gc", { desc = "Toggle comment", remap = true }) map("n", "", "BufferNext", { desc = "Next buffer" }) map("n", "", "BufferPrevious", { desc = "Previous buffer" }) +-- Kitty keyboard protocol makes distinct from . Mapping +-- above still registers as an alias for backward-compat, so we +-- explicitly re-bind here (noremap) to restore the built-in +-- jump-forward-in-jumplist behaviour. +map("n", "", "", { desc = "Jump forward in jumplist" }) map("n", "x", "BufferClose", { desc = "Close buffer" }) map("n", "X", "BufferClose!", { desc = "Force close buffer" }) map("n", "bn", "enew", { desc = "New buffer" })