add more neovim plugins

This commit is contained in:
Mark Riedesel 2024-06-19 12:32:46 -05:00
parent 29f6d0a2b9
commit bbf6641115
10 changed files with 107 additions and 8 deletions

View file

@ -0,0 +1,26 @@
return {
"goolord/alpha-nvim",
event = "VimEnter",
config = function ()
local alpha = require('alpha')
local dashboard = require('alpha.themes.dashboard')
dashboard.section.header.val = {
" ▜█▙ ",
" █▄ ▄█▄ ",
" ████▄ ▄████▄ ",
" ██▀█████▀▀███▄ ",
" ██ ▀█▀ ▀███▄ ",
"▄▄▄██ █████████▄▀███▄▄▄▄",
"▀███ ███ ███ ▀█████▀",
" █████████▀ ▄▄▄ ",
" ███▀██▄ ▀▀███ ",
" ███ ▀██▄▄ ▄███ ",
" ▀▀ ▀██████▀ ",
" ▜█▙ ",
}
alpha.setup(dashboard.opts)
-- Disable folding on alpha buffer
vim.cmd([[autocmd FileType alpha setlocal nofoldenable]])
end,
}

View file

@ -4,8 +4,9 @@ return {
version = "*",
opts = {
options = {
mode = "tabs",
separator_style = "slant",
-- mode = "tabs",
separator_style = "slope",
diagnostics = "nvim_lsp",
},
},
}

View file

@ -0,0 +1,5 @@
--- adds nice pop-ups to nvim-tree
return {
"stevearc/dressing.nvim",
event = "VeryLazy",
}

View file

@ -0,0 +1,12 @@
return {
{
"rawnly/gist.nvim",
cmd = { "GistCreate", "GistCreateFromFile", "GistList" },
config = true,
},
{
"samjwill/nvim-unception",
lazy = false,
init = function() vim.g.unception_block_while_host_edits = true end,
},
}

View file

@ -1,4 +1,22 @@
return {
"nvim-lualine/lualine.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" },
config = function ()
local lualine = require("lualine")
local lazy_status = require("lazy.status")
lualine.setup({
sections = {
lualine_x = {
{
lazy_status.updates,
cond = lazy_status.has_updates,
},
{ "encoding" },
{ "fileformat" },
{ "filetype" },
},
},
})
end
}

View file

@ -0,0 +1,6 @@
return {
"szw/vim-maximizer",
keys = {
{ "<C-W>m", "<cmd>MaximizerToggle<CR>", desc="Minimize/maximize window"},
},
}

View file

@ -10,8 +10,9 @@ return {
nvimtree.setup({
view = {
width = 35,
width = 45,
relativenumber = true,
side = "right",
},
renderer = {
indent_markers = {

View file

@ -0,0 +1,10 @@
return {
"folke/which-key.nvim",
event = "VeryLazy",
init = function ()
vim.o.timeout = true
vim.o.timeoutlen = 500
end,
opts = {
},
}