Update something

This commit is contained in:
tiff 2025-06-10 00:40:16 -04:00
parent e3c94cce54
commit 147ca5ddbc
81 changed files with 3055 additions and 326 deletions

View file

@ -0,0 +1,52 @@
return {
"goolord/alpha-nvim",
event = "VimEnter",
config = function()
local alpha = require("alpha")
local dashboard = require("alpha.themes.dashboard")
-- Set header
dashboard.section.header.val = {
" ",
" ",
" ",
" ",
" ",
" ",
" ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ ",
" ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║ ",
" ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║ ",
" ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║ ",
" ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ ",
" ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ",
" ",
}
-- Set menu
dashboard.section.buttons.val = {
dashboard.button("?", "? > Help", "<cmd>WhichKey<CR>", { desc = "Help/Search backward" }),
-- dashboard.button("SPC l", "L > Lazy", "<cmd>Lazy<CR>", { desc = "Lazy" }),
-- dashboard.button("SPC m", "M > Mason", "<cmd>Mason<CR>", { desc = "Mason" }),
dashboard.button(
"SPC ee",
" > Toggle file explorer",
"<cmd>Neotree toggle<CR>",
{ desc = "Toggle file tree" }
),
dashboard.button("SPC ff", "󰱼 > Find File", "<cmd>Telescope find_files<CR>", { desc = "Find files" }),
dashboard.button(
"SPC sr",
"󰁯 > Restore Session",
"<cmd>SessionRestore<CR>",
{ desc = "Restore session" }
),
dashboard.button("q", " > Quit NVIM", "<cmd>quit<CR>", { desc = "Quit" }),
}
-- Send config to alpha
alpha.setup(dashboard.opts)
-- Disable folding on alpha buffer
vim.cmd([[autocmd FileType alpha setlocal nofoldenable]])
end,
}

View file

@ -0,0 +1,16 @@
return {
{
"catppuccin/nvim",
name = "catppuccin",
priority = 1000,
config = function()
require("catppuccin").setup({
integrations = {
mason = true,
},
})
-- setup must be called before loading
vim.cmd.colorscheme("catppuccin")
end,
},
}

View file

@ -0,0 +1,5 @@
return {
"stevearc/dressing.nvim",
enabled = false,
event = "VeryLazy",
}

View file

@ -0,0 +1,9 @@
return {
"lukas-reineke/indent-blankline.nvim",
event = { "BufReadPre", "BufNewFile" },
main = "ibl",
opts = {
indent = { char = "¦" },
-- indent = { char = "│" },
},
}

View file

@ -0,0 +1,25 @@
return {
{
"nvim-lualine/lualine.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" },
config = function()
require("lualine").setup({
options = {
theme = "horizon",
},
sections = {
lualine_b = {
{
"filename",
symbols = {
unnamed = "",
},
},
},
lualine_c = {},
lualine_x = {},
},
})
end,
},
}

View file

@ -0,0 +1,15 @@
return {
"folke/todo-comments.nvim",
event = { "BufReadPre", "BufNewFile" },
dependencies = { "nvim-lua/plenary.nvim" },
config = function()
require("todo-comments").setup()
vim.keymap.set("n", "<leader>tn", function()
require("todo-comments").jump_next()
end, { desc = "Next todo comment" })
vim.keymap.set("n", "<leader>tp", function()
require("todo-comments").jump_prev()
end, { desc = "Previous todo comment" })
end,
}