From 31926f32c9ffb72a3972378c94e4e5ee6a4545a5 Mon Sep 17 00:00:00 2001 From: Quinn Date: Thu, 18 Dec 2025 17:49:44 +0100 Subject: [PATCH] add ctrl+f4 close keybind to neovim --- .config/nvim/lua/config/maps.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/nvim/lua/config/maps.lua b/.config/nvim/lua/config/maps.lua index cca056a..e58b707 100644 --- a/.config/nvim/lua/config/maps.lua +++ b/.config/nvim/lua/config/maps.lua @@ -9,6 +9,7 @@ Map('n', '', 'enew', { desc = 'create a new buffer' }) Map('n', '', 'bnext', { desc = 'move to next buffer' }) Map('n', '', 'bprevious', { desc = 'move to previous buffer' }) Map('n', '', 'bd', { desc = 'close buffer' }) +Map('n', '', 'bd', { desc = 'close buffer' }) -- for help exiting certain modes Map({ 'n', 'i' }, '', 'nohlsearch', { desc = 'cancel search highlighting and escape' })