summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackson Taylor <jtaylor@classicalconversations.com>2023-08-29 13:52:05 -0400
committerJackson Taylor <jtaylor@classicalconversations.com>2023-08-29 13:52:05 -0400
commit8c2d742860b93b91f4cbab9bf8841df7f23f9d9d (patch)
tree6aca68f5dbcce1428d5158e8f32427e75aca6640
parentd82ca34e463bd1ee2566943f04313354588d58c0 (diff)
Add reopen buffer command
-rw-r--r--after/plugin/which-key.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/after/plugin/which-key.lua b/after/plugin/which-key.lua
index d1af00c..852e147 100644
--- a/after/plugin/which-key.lua
+++ b/after/plugin/which-key.lua
@@ -37,6 +37,7 @@ function whichkey_setup()
-- c = { "<Cmd>bp|bd #<Cr>", "Close current buffer" },
c = { "<Cmd>BD<Cr>", "Close current buffer" },
D = { "<Cmd>%bd|e#|bd#<Cr>", "Delete all buffers" },
+ r = { "<Cmd>e#<CR>", "Reopen last closed file" },
},
d = {