]> git.rmz.io Git - dotfiles.git/blobdiff - nvim/lua/plugins/ui.lua
nvim/ui: disable Noice
[dotfiles.git] / nvim / lua / plugins / ui.lua
index aceb8bd8ee16357c69f5a963ae53f739637fcedb..ad86cee12944527f0aed20ca81b4230798556fc1 100644 (file)
@@ -14,11 +14,13 @@ return {
   },
   {
     "noice.nvim",
   },
   {
     "noice.nvim",
+    enabled = false,
     ---@type NoiceConfig
     opts = {
       presets = {
         command_palette = false, -- don't position the cmdline and popupmenu together
     ---@type NoiceConfig
     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",
       },
       cmdline = {
         view = "cmdline",
@@ -82,11 +84,10 @@ return {
         dashboard.button("f", " " .. " Find file", ":Telescope find_files <CR>"),
         dashboard.button("n", " " .. " New file", ":ene <BAR> startinsert <CR>"),
         dashboard.button("r", " " .. " Recent files", ":Telescope oldfiles <CR>"),
         dashboard.button("f", " " .. " Find file", ":Telescope find_files <CR>"),
         dashboard.button("n", " " .. " New file", ":ene <BAR> startinsert <CR>"),
         dashboard.button("r", " " .. " Recent files", ":Telescope oldfiles <CR>"),
-        dashboard.button("g", " " .. " Find text", ":Telescope live_grep <CR>"),
         dashboard.button("c", " " .. " Config", ":e $MYVIMRC <CR>"),
         dashboard.button("s", " " .. " Restore Session", [[:lua require("persistence").load() <cr>]]),
         dashboard.button("l", "󰒲 " .. " Lazy", ":Lazy<CR>"),
         dashboard.button("c", " " .. " Config", ":e $MYVIMRC <CR>"),
         dashboard.button("s", " " .. " Restore Session", [[:lua require("persistence").load() <cr>]]),
         dashboard.button("l", "󰒲 " .. " Lazy", ":Lazy<CR>"),
-        dashboard.button("q", " " .. " Quit", ":qa<CR>"),
+        dashboard.button("q", " " .. " Close", ":bdelete<CR>"),
       }
       for _, button in ipairs(dashboard.section.buttons.val) do
         button.opts.hl = "AlphaButtons"
       }
       for _, button in ipairs(dashboard.section.buttons.val) do
         button.opts.hl = "AlphaButtons"