From dbadd5d9673048bf0eb84656671acc3e56f03755 Mon Sep 17 00:00:00 2001 From: Szwendacz Date: Wed, 24 Apr 2024 16:27:29 +0200 Subject: [PATCH] add binding for clearing buffers --- README.md | 1 + lua/general.lua | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 2b01c33..c446e80 100644 --- a/README.md +++ b/README.md @@ -252,6 +252,7 @@ All that is saved in image, so that is why image is so heavy. |keys|action| |----|----| |\l|disable (search) highlighting| +|\cb|Close all buffers (:bufdo bd)| #### DAP - Debug Adapter Protocol diff --git a/lua/general.lua b/lua/general.lua index 87951fe..2ca6b7d 100644 --- a/lua/general.lua +++ b/lua/general.lua @@ -41,6 +41,8 @@ map("n", "gb", ":Telescope git_branches") map("n", "ng", ":Neogit") +map("n", "cb", ":bufdo bd") + -- dap map("n", "db", ":lua require'dap'.toggle_breakpoint()") map("n", "dc", ":lua require'dap'.continue()")