From 76fa8f05b0f699f183d07c0d89b616fa6f1d61cb Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 1 Mar 2024 15:54:19 +0100 Subject: up --- .config/nvim/lua/bindings.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/nvim/lua') diff --git a/.config/nvim/lua/bindings.lua b/.config/nvim/lua/bindings.lua index f4ed9ef..0d059a5 100644 --- a/.config/nvim/lua/bindings.lua +++ b/.config/nvim/lua/bindings.lua @@ -39,7 +39,7 @@ vim.keymap.set('n', '', function() harpoon:list():select(3) end) vim.keymap.set('n', '', function() harpoon:list():select(4) end) -- normal -vim.keymap.set('n', 'd', ':bd', { noremap = true, silent = true }) +vim.keymap.set('n', 'd', ':bn|:bd#', { noremap = true, silent = true }) vim.keymap.set('n', 'D', '"-ddk:put = strftime(\' * %a %b %d %T %Y\')', { noremap = true, silent = true }) vim.keymap.set('n', 'k', ':w:bp:bd #', { noremap = true, silent = true }) vim.keymap.set('n', 'u', vim.cmd.UndotreeToggle, { noremap = true, silent = true }) -- cgit v1.2.3