nvim: add config files

This commit is contained in:
2026-01-17 21:17:29 +00:00
parent d1cf18299e
commit ecefe3b413
30 changed files with 923 additions and 0 deletions

View File

@@ -0,0 +1,75 @@
return {
'nvimdev/dashboard-nvim',
-- event = 'VimEnter',
config = function()
require('dashboard').setup {
theme = 'hyper',
config = {
week_header = {
enable = false,
},
packages = {
enable = false,
},
--header = {
-- " __ _ ",
-- " /\\ \\ \\__ _(_)_ __ ___ ",
-- " / \\/ /\\ \\ / / | '_ ` _ \\ ",
-- "/ /\\ / \\ V /| | | | | | |",
-- "\\_\\ \\/ \\_/ |_|_| |_| |_|",
-- "==================================",
-- "on " .. vim.fn.hostname(),
-- ""
--},
header = {
" ___ __ __ ",
" / | / /____/ /_ ___ ____ ___ __ __",
" / /| | / / ___/ __ \\/ _ \\/ __ `__ \\/ / / /",
" / ___ |/ / /__/ / / / __/ / / / / / /_/ / ",
"/_/ |_/_/\\___/_/ /_/\\___/_/ /_/ /_/\\__, / ",
" Nvim /____/ ",
"............................................",
"on " .. vim.fn.hostname(),
""
},
shortcut = {
{
desc = ' Files',
action = 'Telescope find_files',
group = 'DashboardHotkeyFiles',
key = 'f',
},
{
desc = ' Projects',
group = 'DashboardHotkeyProjects',
action = 'Telescope projects',
key = 'p',
},
{
desc = ' Notes',
group = 'DashboardHotkeyNotes',
action = 'SearchNotes',
key = 'n',
},
{
desc = ' dotfiles',
group = 'DashboardHotkeyDotfiles',
action = 'SearchDotfiles',
key = 'd',
},
{
desc = ' Quit',
group = 'DashboardHotkeyQuit',
action = 'q',
key = 'q',
},
}
},
}
end,
dependencies = {
'nvim-tree/nvim-web-devicons',
'nvim-telescope/telescope.nvim',
}
}