From 7bfbd94866963fbbdc5b4563f53ef086970fbff7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Thu, 8 Aug 2024 17:00:41 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=EF=B8=8F=20remove(nvim):=20lazygit?= =?UTF-8?q?=20entry=20on=20the=20dashboard?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../extras/editor/terminal/floaterm.lua | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/.config/nvim/lua/plugins/extras/editor/terminal/floaterm.lua b/.config/nvim/lua/plugins/extras/editor/terminal/floaterm.lua index 9bc1961b..b67ce5d0 100644 --- a/.config/nvim/lua/plugins/extras/editor/terminal/floaterm.lua +++ b/.config/nvim/lua/plugins/extras/editor/terminal/floaterm.lua @@ -59,33 +59,4 @@ return { }) end, }, - { - "goolord/alpha-nvim", - optional = true, - opts = function(_, dashboard) - -- stylua: ignore - local button = dashboard.button("G", "󰊢 " .. " Git", "FloatermNew --disposable --name=lazygitroot --opener=edit --titleposition=center --height=0.85 --width=0.85 --cwd= lazygit") - button.opts.hl = "AlphaButtons" - button.opts.hl_shortcut = "AlphaShortcut" - table.insert(dashboard.section.buttons.val, 7, button) - return dashboard - end, - }, - { - "nvimdev/dashboard-nvim", - optional = true, - opts = function(_, opts) - local git = { - action = "FloatermNew --disposable --name=lazygitroot --opener=edit --titleposition=center --height=0.85 --width=0.85 --cwd= lazygit", - desc = " Git", - icon = " ", - key = "G", - } - - git.desc = git.desc .. string.rep(" ", 43 - #git.desc) - git.key_format = " %s" - - table.insert(opts.config.center, 7, git) - end, - }, }