diff options
author | Jackson Taylor <jtaylor@classicalconversations.com> | 2023-05-18 10:57:33 -0400 |
---|---|---|
committer | Jackson Taylor <jtaylor@classicalconversations.com> | 2023-05-18 10:57:33 -0400 |
commit | 928343c8a5f37142ff4187bcaeea47174e04ac1c (patch) | |
tree | 4453433343310df13acca71f6e9d3f2db48a6868 | |
parent | f2bbe243074d23bdc5246fe723d5c8b7ff6c0665 (diff) |
Keymaps: close current buffer, but not the split
-rw-r--r-- | after/plugin/which-key.lua | 2 |
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" }, }, |