From: Samir Benmendil Date: Thu, 13 Apr 2023 02:05:44 +0000 (+0100) Subject: nvim/ui: delete buffer instead of quit with q in dashboard X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/a2b7879e82c5779d8212fdbf59a48c325f01fed4 nvim/ui: delete buffer instead of quit with q in dashboard --- 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"