From 7d2fc557915489a114d6f0c6c602283c3dbd4bd1 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Tue, 10 Dec 2024 09:11:42 +0200 Subject: [PATCH] chore(nvim): ba (close all except current) --- config/nvim/lua/keymaps.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/config/nvim/lua/keymaps.lua b/config/nvim/lua/keymaps.lua index f838846..1238c7a 100644 --- a/config/nvim/lua/keymaps.lua +++ b/config/nvim/lua/keymaps.lua @@ -92,6 +92,7 @@ n('', ':nohlsearch', { desc = 'Clear Search Highlighting' }) -- Buffer operations -- Mappings for buffer management operations like switching, deleting, etc. -- Convention: All mappings start with 'b' followed by the operation +nld('ba', ':%bd|e#|bd#', 'Close all except current') nld('bd', ':lua MiniBufremove.delete()', 'Delete') nld('bh', ':bprev', 'Prev') nld('bj', ':bfirst', 'First')