add more neovim plugins
This commit is contained in:
parent
29f6d0a2b9
commit
bbf6641115
10 changed files with 107 additions and 8 deletions
|
@ -1,3 +1,17 @@
|
|||
|
||||
-- ▜█▙
|
||||
-- █▄ ▄█▄
|
||||
-- ████▄ ▄████▄
|
||||
-- ██▀█████▀▀███▄
|
||||
-- ██ ▀█▀ ▀███▄
|
||||
-- ▄▄▄██ █████████▄▀███▄▄▄▄
|
||||
-- ▀███ ███ ███ ▀█████▀
|
||||
-- █████████▀ ▄▄▄
|
||||
-- ███▀██▄ ▀▀███
|
||||
-- ███ ▀██▄▄ ▄███
|
||||
-- ▀▀ ▀██████▀
|
||||
-- ▜█▙
|
||||
|
||||
vim.g.mapleader = " "
|
||||
vim.g.maplocalleader = " "
|
||||
|
||||
|
|
26
.config/nvim/lua/klowner/plugins/alpha.lua
Normal file
26
.config/nvim/lua/klowner/plugins/alpha.lua
Normal 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,
|
||||
}
|
|
@ -4,8 +4,9 @@ return {
|
|||
version = "*",
|
||||
opts = {
|
||||
options = {
|
||||
mode = "tabs",
|
||||
separator_style = "slant",
|
||||
-- mode = "tabs",
|
||||
separator_style = "slope",
|
||||
diagnostics = "nvim_lsp",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
5
.config/nvim/lua/klowner/plugins/dressing.lua
Normal file
5
.config/nvim/lua/klowner/plugins/dressing.lua
Normal file
|
@ -0,0 +1,5 @@
|
|||
--- adds nice pop-ups to nvim-tree
|
||||
return {
|
||||
"stevearc/dressing.nvim",
|
||||
event = "VeryLazy",
|
||||
}
|
12
.config/nvim/lua/klowner/plugins/gist.lua
Normal file
12
.config/nvim/lua/klowner/plugins/gist.lua
Normal 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,
|
||||
},
|
||||
}
|
|
@ -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
|
||||
}
|
||||
|
|
6
.config/nvim/lua/klowner/plugins/nvim-maximizer.lua
Normal file
6
.config/nvim/lua/klowner/plugins/nvim-maximizer.lua
Normal file
|
@ -0,0 +1,6 @@
|
|||
return {
|
||||
"szw/vim-maximizer",
|
||||
keys = {
|
||||
{ "<C-W>m", "<cmd>MaximizerToggle<CR>", desc="Minimize/maximize window"},
|
||||
},
|
||||
}
|
|
@ -10,8 +10,9 @@ return {
|
|||
|
||||
nvimtree.setup({
|
||||
view = {
|
||||
width = 35,
|
||||
width = 45,
|
||||
relativenumber = true,
|
||||
side = "right",
|
||||
},
|
||||
renderer = {
|
||||
indent_markers = {
|
10
.config/nvim/lua/klowner/plugins/which-key.lua
Normal file
10
.config/nvim/lua/klowner/plugins/which-key.lua
Normal file
|
@ -0,0 +1,10 @@
|
|||
return {
|
||||
"folke/which-key.nvim",
|
||||
event = "VeryLazy",
|
||||
init = function ()
|
||||
vim.o.timeout = true
|
||||
vim.o.timeoutlen = 500
|
||||
end,
|
||||
opts = {
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue