diff options
| author | triethyl <triethylammonium@pm.me> | 2025-08-05 21:37:07 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-08-05 21:37:07 -0400 |
| commit | ef309868a758ca7087c6d1ed1c8156172fe9b96a (patch) | |
| tree | a2d78738181ec8512b4ce852151b2b1ed6d467de /pkgs/custom-neovim/config/lua/plugins/alpha.lua | |
| parent | ed137d6252bcb217a9d534d7fe1a45bae6ba6866 (diff) | |
neovim: moved to mini-pairs and cleaned up
Diffstat (limited to 'pkgs/custom-neovim/config/lua/plugins/alpha.lua')
| -rw-r--r-- | pkgs/custom-neovim/config/lua/plugins/alpha.lua | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/pkgs/custom-neovim/config/lua/plugins/alpha.lua b/pkgs/custom-neovim/config/lua/plugins/alpha.lua deleted file mode 100644 index 32130f8..0000000 --- a/pkgs/custom-neovim/config/lua/plugins/alpha.lua +++ /dev/null @@ -1,32 +0,0 @@ -local alpha = require("alpha") -local dashboard = require("alpha.themes.dashboard") - --- Set header -dashboard.section.header.val = Art.misc.hydra - --- Set menu -dashboard.section.buttons.val = { - dashboard.button( "f", " > Find file", ":cd $HOME | Telescope find_files<CR>" ), - dashboard.button( "r", " > Find recent file", ":Telescope oldfiles<CR>" ), - dashboard.button( "s", " > Load session", ":Telescope persisted<cr>" ), - dashboard.button( "l", " > Load last session", ":SessionLoadLast<cr>" ), - dashboard.button( "q", " > Quit", ":qa<CR>" ), -} - --- Center components. -dashboard.section.header.opts.position = "center" -dashboard.section.footer.opts.position = "center" - --- Send config to alpha -alpha.setup(dashboard.opts) - --- Set options just for the dashboard. -vim.api.nvim_create_autocmd("BufEnter", { - pattern = "alpha", - callback = function() - vim.opt_local.foldenable = false -- disable folding - vim.opt_local.relativenumber = false - vim.opt_local.number = false - end, -}) - |
