dashboard yay
This commit is contained in:
parent
fcd370fa7e
commit
bdee9169cf
|
@ -5,11 +5,54 @@ local M = {}
|
||||||
local highlights = require "custom.highlights"
|
local highlights = require "custom.highlights"
|
||||||
|
|
||||||
M.ui = {
|
M.ui = {
|
||||||
theme = "kanagawa",
|
theme = "chadracula",
|
||||||
theme_toggle = { "kanagawa", "one_light" },
|
theme_toggle = { "kanagawa", "chadracula" },
|
||||||
|
|
||||||
hl_override = highlights.override,
|
hl_override = highlights.override,
|
||||||
hl_add = highlights.add,
|
hl_add = highlights.add,
|
||||||
|
lsp_semantic_tokens = true,
|
||||||
|
statusline = {
|
||||||
|
theme = "default", -- default/vscode/vscode_colored/minimal
|
||||||
|
-- default/round/block/arrow separators work only for default statusline theme
|
||||||
|
-- round and block will work for minimal theme only
|
||||||
|
separator_style = "default",
|
||||||
|
overriden_modules = nil,
|
||||||
|
},
|
||||||
|
-- lazyload it when there are 1+ buffers
|
||||||
|
tabufline = {
|
||||||
|
show_numbers = true,
|
||||||
|
enabled = true,
|
||||||
|
lazyload = true,
|
||||||
|
overriden_modules = nil,
|
||||||
|
},
|
||||||
|
-- nvdash (dashboard)
|
||||||
|
nvdash = {
|
||||||
|
load_on_startup = true,
|
||||||
|
header = {
|
||||||
|
" ",
|
||||||
|
" █ ████████ █████ ███████ ████ ",
|
||||||
|
" ███ ██████ █████ █████████ ██████ ",
|
||||||
|
" █████ ██████████████████████ ████ ███████████████ ",
|
||||||
|
" ██ ██ █████ █████████████ ████ ████████████████ ",
|
||||||
|
" ████ ███████████████ █████████ ████ █████ ██████ ████ ",
|
||||||
|
" ██████ ██████ ███ █████████ ████ █████ █████ ████ ",
|
||||||
|
"████████ ███████████████████ ████ ████ █████ ████ ████",
|
||||||
|
" ",
|
||||||
|
" 🛠️ Sharp tools make good work 🖥️ ",
|
||||||
|
},
|
||||||
|
|
||||||
|
buttons = {
|
||||||
|
{ " Find File", ";ff", "Telescope find_files" },
|
||||||
|
{ " Recent Files", ";fo", "Telescope oldfiles" },
|
||||||
|
{ " Find Word", ";fw", "Telescope live_grep" },
|
||||||
|
{ " Bookmarks", ";fm", "Telescope marks" },
|
||||||
|
{ " Themes", ";th", "Telescope themes" },
|
||||||
|
{ " Mappings", "<space>ch", "NvCheatsheet" },
|
||||||
|
{ " Git", "<space>gg", "LazyGit" },
|
||||||
|
{ " Files", "<F5>", "NvimTreeToggle" },
|
||||||
|
{ " Terminal", "<A-i>", "ToggleTerm direction=float" },
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
M.plugins = "custom.plugins"
|
M.plugins = "custom.plugins"
|
||||||
|
|
|
@ -25,13 +25,13 @@ M.disabled = {
|
||||||
["<leader>fa"] = "",
|
["<leader>fa"] = "",
|
||||||
["<leader>fw"] = "",
|
["<leader>fw"] = "",
|
||||||
["<leader>fb"] = "",
|
["<leader>fb"] = "",
|
||||||
|
["<leader>th"] = "",
|
||||||
["<leader>fh"] = "",
|
["<leader>fh"] = "",
|
||||||
["<leader>fo"] = "",
|
["<leader>fo"] = "",
|
||||||
["<leader>fz"] = "",
|
["<leader>fz"] = "",
|
||||||
["<leader>cm"] = "",
|
["<leader>cm"] = "",
|
||||||
["<leader>gt"] = "",
|
["<leader>gt"] = "",
|
||||||
["<leader>pt"] = "",
|
["<leader>pt"] = "",
|
||||||
["<leader>th"] = "",
|
|
||||||
["<leader>ma"] = "",
|
["<leader>ma"] = "",
|
||||||
["<leader>v"] = "",
|
["<leader>v"] = "",
|
||||||
["<leader>rh"] = "",
|
["<leader>rh"] = "",
|
||||||
|
|
|
@ -5,7 +5,7 @@ local function get_header()
|
||||||
return {
|
return {
|
||||||
-- The following is a customized version!
|
-- The following is a customized version!
|
||||||
[[ ]],
|
[[ ]],
|
||||||
[[ ]],
|
[[ ]],
|
||||||
[[ █ ████████ █████ ███████ ████ ]],
|
[[ █ ████████ █████ ███████ ████ ]],
|
||||||
[[ ███ ██████ █████ █████████ ██████ ]],
|
[[ ███ ██████ █████ █████████ ██████ ]],
|
||||||
[[ █████ ██████████████████████ ████ ███████████████ ]],
|
[[ █████ ██████████████████████ ████ ███████████████ ]],
|
||||||
|
@ -347,6 +347,7 @@ local plugins = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"goolord/alpha-nvim",
|
"goolord/alpha-nvim",
|
||||||
|
enabled = false,
|
||||||
lazy = false,
|
lazy = false,
|
||||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||||
config = function()
|
config = function()
|
||||||
|
@ -568,14 +569,12 @@ local plugins = {
|
||||||
local nls = require "null-ls"
|
local nls = require "null-ls"
|
||||||
local builtins = nls.builtins
|
local builtins = nls.builtins
|
||||||
local sources = {
|
local sources = {
|
||||||
builtins.formatting.stylua,
|
|
||||||
builtins.formatting.black,
|
builtins.formatting.black,
|
||||||
builtins.formatting.fixjson,
|
builtins.formatting.fixjson,
|
||||||
builtins.formatting.golines,
|
builtins.formatting.golines,
|
||||||
builtins.formatting.markdownlint,
|
builtins.formatting.markdownlint,
|
||||||
builtins.formatting.shellharden,
|
builtins.formatting.shellharden,
|
||||||
builtins.formatting.sql_formatter,
|
builtins.formatting.sql_formatter,
|
||||||
builtins.formatting.taplo,
|
|
||||||
builtins.diagnostics.markdownlint,
|
builtins.diagnostics.markdownlint,
|
||||||
builtins.diagnostics.mypy,
|
builtins.diagnostics.mypy,
|
||||||
builtins.diagnostics.vint,
|
builtins.diagnostics.vint,
|
||||||
|
|
Loading…
Reference in New Issue