X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/b394b1f4b455d62d6a642d60618a964511a333f4..b9bb56f915f21c31e54bffadf8923562cce749b9:/nvim/lua/plugins/ui.lua diff --git a/nvim/lua/plugins/ui.lua b/nvim/lua/plugins/ui.lua index aceb8bd..1b57307 100644 --- a/nvim/lua/plugins/ui.lua +++ b/nvim/lua/plugins/ui.lua @@ -18,7 +18,8 @@ return { opts = { presets = { command_palette = false, -- don't position the cmdline and popupmenu together - lsp_doc_border = true, -- add a border to hover docs and signature help + lsp_doc_border = true, + long_message_to_split = true, }, cmdline = { view = "cmdline", @@ -82,11 +83,10 @@ return { dashboard.button("f", " " .. " Find file", ":Telescope find_files "), dashboard.button("n", " " .. " New file", ":ene startinsert "), dashboard.button("r", " " .. " Recent files", ":Telescope oldfiles "), - dashboard.button("g", " " .. " Find text", ":Telescope live_grep "), 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"