From c8075f06e081b0fe6a4b37339c22e921b0107a72 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Mon, 22 Jul 2024 22:53:56 +0300 Subject: feat(neovim): lazy loaded and refactored a bunch --- .config/nvim/lua/custom/plugins/alpha.lua | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to '.config/nvim/lua/custom/plugins/alpha.lua') diff --git a/.config/nvim/lua/custom/plugins/alpha.lua b/.config/nvim/lua/custom/plugins/alpha.lua index 72af0a5..fa0740c 100644 --- a/.config/nvim/lua/custom/plugins/alpha.lua +++ b/.config/nvim/lua/custom/plugins/alpha.lua @@ -53,14 +53,16 @@ return { dashboard.section.buttons.opts.spacing = 0 dashboard.section.buttons.val = { dashboard.button('e', ' > New file', 'ene startinsert'), - dashboard.button('w', ' > Find file', 'cd ' .. find_file_path .. ' | Telescope find_files'), + 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'), - dashboard.button( - 's', - '󱎠 > Last Session', - 'lua require("auto-session.session-lens.actions").alternate_session()' - ), + -- 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