From a2b7879e82c5779d8212fdbf59a48c325f01fed4 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Thu, 13 Apr 2023 03:05:44 +0100 Subject: [PATCH] nvim/ui: delete buffer instead of quit with q in dashboard --- nvim/lua/plugins/ui.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/lua/plugins/ui.lua b/nvim/lua/plugins/ui.lua index aceb8bd..42f2db7 100644 --- a/nvim/lua/plugins/ui.lua +++ b/nvim/lua/plugins/ui.lua @@ -86,7 +86,7 @@ return { dashboard.button("c", " " .. " Config", ":e $MYVIMRC "), dashboard.button("s", " " .. " Restore Session", [[:lua require("persistence").load() ]]), dashboard.button("l", "󰒲 " .. " Lazy", ":Lazy"), - dashboard.button("q", " " .. " Quit", ":qa"), + dashboard.button("q", " " .. " Close", ":bdelete"), } for _, button in ipairs(dashboard.section.buttons.val) do button.opts.hl = "AlphaButtons" -- 2.48.1