summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackson Taylor <jtaylor@classicalconversations.com>2023-05-18 10:57:33 -0400
committerJackson Taylor <jtaylor@classicalconversations.com>2023-05-18 10:57:33 -0400
commit928343c8a5f37142ff4187bcaeea47174e04ac1c (patch)
tree4453433343310df13acca71f6e9d3f2db48a6868
parentf2bbe243074d23bdc5246fe723d5c8b7ff6c0665 (diff)
Keymaps: close current buffer, but not the split
-rw-r--r--after/plugin/which-key.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/after/plugin/which-key.lua b/after/plugin/which-key.lua
index d4b8cb2..a0e4b74 100644
--- a/after/plugin/which-key.lua
+++ b/after/plugin/which-key.lua
@@ -34,7 +34,7 @@ function whichkey_setup()
local mappings = {
b = {
name = "Buffer",
- c = { "<Cmd>bd!<Cr>", "Close current buffer" },
+ c = { "<Cmd>bp|bd #<Cr>", "Close current buffer" },
D = { "<Cmd>%bd|e#|bd#<Cr>", "Delete all buffers" },
},