From 522fd07b1d46438896e8e506b2b4cb25943f9173 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Thu, 1 May 2025 18:21:49 +0300 Subject: Removed activity watcher and removed some useless stuff from alpha nvim dashboard --- .config/nvim/lua/plugins/alpha.lua | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to '.config/nvim/lua/plugins/alpha.lua') diff --git a/.config/nvim/lua/plugins/alpha.lua b/.config/nvim/lua/plugins/alpha.lua index 00a7d56..17fc1b7 100644 --- a/.config/nvim/lua/plugins/alpha.lua +++ b/.config/nvim/lua/plugins/alpha.lua @@ -1,7 +1,7 @@ return { 'goolord/alpha-nvim', dependencies = { 'nvim-tree/nvim-web-devicons' }, - cmd = "Alpha", + cmd = 'Alpha', config = function() local alpha = require('alpha') local dashboard = require('alpha.themes.dashboard') @@ -21,7 +21,6 @@ return { return tostring(day) .. suffix end - local find_file_path = '$HOME' local date = os.date('  %A, %B ') .. get_natural_day(tonumber(os.date('%d'))) local plugins = '  ' .. require('lazy').stats().count .. ' plugins ' local v = vim.version() @@ -48,17 +47,6 @@ return { dashboard.section.buttons.opts.spacing = 0 dashboard.section.buttons.val = { - dashboard.button('e', ' > New file', 'ene startinsert'), - dashboard.button('f', ' > Find file', 'cd ' .. find_file_path .. ' | Telescope find_files'), - dashboard.button('r', ' > Recent', 'Telescope oldfiles'), - dashboard.button('c', ' > Configuration', 'e $MYVIMRC | cd %:p:h'), - -- FIX: doesn't seem to work so great, probably just use a project manager - -- will most likely make my own project manager plugin - -- dashboard.button( - -- 's', - -- '󱎠 > Last Session', - -- 'lua require("auto-session.session-lens.actions").alternate_session()' - -- ), dashboard.button('q', '󰈆 > Quit NVIM', 'qa'), } -- cgit v1.3.1