Switch from dashboard to alpha, add project.nvim telescope plugin
parent
1ce80c1347
commit
e6b6534c8d
@ -0,0 +1,10 @@
|
||||
-- Startup dashboard
|
||||
--- @type LazyPluginSpec
|
||||
return {
|
||||
"goolord/alpha-nvim",
|
||||
config = function()
|
||||
local alpha = require("alpha")
|
||||
local theta = require("alpha.themes.theta")
|
||||
alpha.setup(theta.config)
|
||||
end,
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
-- Startup dashboard
|
||||
--- @type LazyPluginSpec
|
||||
return {
|
||||
"glepnir/dashboard-nvim",
|
||||
event = "VimEnter",
|
||||
dependencies = { "kyazdani42/nvim-web-devicons" },
|
||||
opts = {
|
||||
theme = "hyper",
|
||||
config = {
|
||||
week_header = {
|
||||
enable = true,
|
||||
},
|
||||
shortcut = {
|
||||
{
|
||||
icon = "🧲 ",
|
||||
desc = "Update",
|
||||
group = "@property",
|
||||
action = "Lazy update",
|
||||
key = "u",
|
||||
},
|
||||
},
|
||||
project = {
|
||||
enable = true,
|
||||
limit = 8,
|
||||
label = "Projects",
|
||||
action = function(path)
|
||||
require("telescope.builtin").find_files({ cwd = path })
|
||||
end,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue