diff options
| author | triethyl <triethylammonium@pm.me> | 2025-07-08 16:52:49 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-07-08 16:52:49 -0400 |
| commit | 405c50fe980449290fa11c0c3b813954eacf4c4f (patch) | |
| tree | 8ceaa6b56c4155d3c3ce9853eadf534e35468d8f /pkgs/custom-neovim/config/lua/plugins | |
| parent | a544c622d31187f245b34b9b8b17cbb63a941480 (diff) | |
working on custom nvim
Former-commit-id: 7d898c7680f9611b803438b88026d3d126672437
Diffstat (limited to 'pkgs/custom-neovim/config/lua/plugins')
| -rw-r--r-- | pkgs/custom-neovim/config/lua/plugins/alpha.lua | 21 | ||||
| -rw-r--r-- | pkgs/custom-neovim/config/lua/plugins/tabby.lua | 1 |
2 files changed, 21 insertions, 1 deletions
diff --git a/pkgs/custom-neovim/config/lua/plugins/alpha.lua b/pkgs/custom-neovim/config/lua/plugins/alpha.lua new file mode 100644 index 0000000..ef39612 --- /dev/null +++ b/pkgs/custom-neovim/config/lua/plugins/alpha.lua @@ -0,0 +1,21 @@ +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", ""), + dashboard.button( "q", " > Quit", ":qa<CR>"), +} + +-- Send config to alpha +alpha.setup(dashboard.opts) + +-- Disable folding on alpha buffer +vim.cmd([[ + autocmd FileType alpha setlocal nofoldenable +]]) diff --git a/pkgs/custom-neovim/config/lua/plugins/tabby.lua b/pkgs/custom-neovim/config/lua/plugins/tabby.lua index ecba331..211c0c0 100644 --- a/pkgs/custom-neovim/config/lua/plugins/tabby.lua +++ b/pkgs/custom-neovim/config/lua/plugins/tabby.lua @@ -6,7 +6,6 @@ local colors = { }; local theme = { fill = colors.fill, - -- Also you can do this: fill = { fg='#f2e9de', bg='#907aa9', style='italic' } head = colors.fill, current_tab = colors.current, tab = colors.not_current, |
