so thats what its called
This commit is contained in:
parent
64cc8ecb5f
commit
8027301d40
4 changed files with 33 additions and 1 deletions
19
config/nvim/lua/core/plugin_config/dashboard.lua
Normal file
19
config/nvim/lua/core/plugin_config/dashboard.lua
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
require('dashboard').setup {
|
||||||
|
theme = 'hyper' -- theme is doom and hyper default is hyper
|
||||||
|
disable_move -- default is false disable move keymap for hyper
|
||||||
|
shortcut_type -- shorcut type 'letter' or 'number'
|
||||||
|
change_to_vcs_root -- default is false,for open file in hyper mru. it will change to the root of vcs
|
||||||
|
config = {}, -- config used for theme
|
||||||
|
hide = {
|
||||||
|
statusline -- hide statusline default is true
|
||||||
|
tabline -- hide the tabline
|
||||||
|
winbar -- hide winbar
|
||||||
|
},
|
||||||
|
preview = {
|
||||||
|
command -- preview command
|
||||||
|
file_path -- preview file path
|
||||||
|
file_height -- preview file height
|
||||||
|
file_width -- preview file width
|
||||||
|
},
|
||||||
|
|
||||||
|
}
|
|
@ -11,3 +11,4 @@ require("core.plugin_config.null_ls")
|
||||||
require("core.plugin_config.colorscheme")
|
require("core.plugin_config.colorscheme")
|
||||||
require("core.plugin_config.liveserver")
|
require("core.plugin_config.liveserver")
|
||||||
require("core.plugin_config.color-picker")
|
require("core.plugin_config.color-picker")
|
||||||
|
require("core.plugin_config.dashboard")
|
||||||
|
|
|
@ -68,6 +68,18 @@ local plugins = {
|
||||||
|
|
||||||
-- color picker
|
-- color picker
|
||||||
"ziontee113/color-picker.nvim",
|
"ziontee113/color-picker.nvim",
|
||||||
|
|
||||||
|
-- startup
|
||||||
|
{
|
||||||
|
'glepnir/dashboard-nvim',
|
||||||
|
event = 'VimEnter',
|
||||||
|
config = function()
|
||||||
|
require('dashboard').setup {
|
||||||
|
-- config
|
||||||
|
}
|
||||||
|
end,
|
||||||
|
dependencies = { { 'nvim-tree/nvim-web-devicons' } }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
require("lazy").setup(plugins, {})
|
require("lazy").setup(plugins, {})
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
dev = {
|
dev = {
|
||||||
editors = {
|
editors = {
|
||||||
nvim.enable = true;
|
nvim.enable = true;
|
||||||
vscode.fhs.enable = true;
|
vscode.fhs.enable = false;
|
||||||
};
|
};
|
||||||
nixd.enable = false;
|
nixd.enable = false;
|
||||||
nil.enable = true;
|
nil.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue