add wip dashboard + other stuff
This commit is contained in:
parent
aaa91a6169
commit
2053e2a72e
9 changed files with 35 additions and 8 deletions
6
init.lua
6
init.lua
|
@ -1,10 +1,4 @@
|
||||||
require("config.lazy")
|
require("config.lazy")
|
||||||
require("config.settings")
|
require("config.settings")
|
||||||
|
|
||||||
local neopywal = require("neopywal")
|
|
||||||
neopywal.setup({
|
|
||||||
transparent_background = true,
|
|
||||||
terminal_colors = true,
|
|
||||||
show_end_of_buffer = false,
|
|
||||||
})
|
|
||||||
vim.cmd.colorscheme("neopywal")
|
vim.cmd.colorscheme("neopywal")
|
||||||
|
|
16
lua/config/plugins/dashboard.lua
Normal file
16
lua/config/plugins/dashboard.lua
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
config = {
|
||||||
|
center = {
|
||||||
|
{
|
||||||
|
icon = '',
|
||||||
|
icon_hl = 'group',
|
||||||
|
desc = 'description',
|
||||||
|
desc_hl = 'group',
|
||||||
|
key = 'shortcut key in dashboard buffer not keymap !!',
|
||||||
|
key_hl = 'group',
|
||||||
|
key_format = ' [%s]', -- `%s` will be substituted with value of `key`
|
||||||
|
action = '',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
footer = {},
|
||||||
|
vertical_center = false, -- Center the Dashboard on the vertical (from top to bottom)
|
||||||
|
}
|
|
@ -31,7 +31,7 @@ o.splitright = true
|
||||||
o.splitbelow = true
|
o.splitbelow = true
|
||||||
o.termguicolors = true
|
o.termguicolors = true
|
||||||
|
|
||||||
opt.shortmess:append "sI"
|
-- opt.shortmess:append "sI"
|
||||||
opt.whichwrap:append "<>[]hl"
|
opt.whichwrap:append "<>[]hl"
|
||||||
opt.fillchars = { eob = " " }
|
opt.fillchars = { eob = " " }
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,9 @@ return {
|
||||||
"nvim-tree/nvim-web-devicons",
|
"nvim-tree/nvim-web-devicons",
|
||||||
"MunifTanjim/nui.nvim",
|
"MunifTanjim/nui.nvim",
|
||||||
-- "3rd/image.nvim", -- Optional see `# Preview Mode` for more information
|
-- "3rd/image.nvim", -- Optional see `# Preview Mode` for more information
|
||||||
|
},
|
||||||
|
opts = {
|
||||||
|
vim.keymap.set('n', '<C-b>', '<Cmd>Neotree toggle<CR>')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,22 @@
|
||||||
return {
|
return {
|
||||||
|
{
|
||||||
|
"nvimdev/dashboard-nvim",
|
||||||
|
event = "VimEnter",
|
||||||
|
dependencies = { "nvim-tree/nvim-web-devicons"},
|
||||||
|
config = function()
|
||||||
|
require('dashboard').setup {
|
||||||
|
require "config.plugins.dashboard"
|
||||||
|
}
|
||||||
|
end,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"RedsXDD/neopywal.nvim",
|
"RedsXDD/neopywal.nvim",
|
||||||
name = "neopywal",
|
name = "neopywal",
|
||||||
opts = {},
|
opts = {
|
||||||
|
transparent_background = true,
|
||||||
|
terminal_colors = true,
|
||||||
|
show_end_of_buffer = false,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
-- Lua status-bar
|
-- Lua status-bar
|
||||||
|
|
BIN
spell/en.utf-8.spl
Normal file
BIN
spell/en.utf-8.spl
Normal file
Binary file not shown.
BIN
spell/en.utf-8.sug
Normal file
BIN
spell/en.utf-8.sug
Normal file
Binary file not shown.
BIN
spell/es.utf-8.spl
Normal file
BIN
spell/es.utf-8.spl
Normal file
Binary file not shown.
BIN
spell/es.utf-8.sug
Normal file
BIN
spell/es.utf-8.sug
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue