dashboard and zen-mode
This commit is contained in:
39
vim/.vim/lua/plugins/dashboard.lua
Normal file
39
vim/.vim/lua/plugins/dashboard.lua
Normal file
@ -0,0 +1,39 @@
|
||||
return {
|
||||
"nvimdev/dashboard-nvim",
|
||||
event = "VimEnter",
|
||||
config = function()
|
||||
require("dashboard").setup({
|
||||
theme = "hyper",
|
||||
config = {
|
||||
week_header = {
|
||||
enable = true,
|
||||
},
|
||||
shortcut = {
|
||||
{ desc = " Update", group = "@property", action = "Lazy update", key = "u" },
|
||||
{
|
||||
icon = " ",
|
||||
icon_hl = "@variable",
|
||||
desc = "Files",
|
||||
group = "Label",
|
||||
action = "Telescope find_files",
|
||||
key = "f",
|
||||
},
|
||||
{
|
||||
desc = " Apps",
|
||||
group = "DiagnosticHint",
|
||||
action = "Telescope app",
|
||||
key = "a",
|
||||
},
|
||||
{
|
||||
desc = " dotfiles",
|
||||
group = "Number",
|
||||
action = "lua find_dotfiles()",
|
||||
key = "d",
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
keys = { { "<C-Space>", ":Dashboard<CR>" } },
|
||||
dependencies = { { "nvim-tree/nvim-web-devicons" } },
|
||||
}
|
Reference in New Issue
Block a user