Skip to main content

Project

info

You can enable the extra with the :LazyExtras command. Plugins marked as optional will only be configured if they are installed.

Below you can find a list of included plugins and their default settings.

caution

You don't need to copy the default settings to your config. They are only shown here for reference.

project.nvim

opts = {
manual_mode = true,
}

telescope.nvim (optional)

opts = nil

fzf-lua (optional)

opts = nil

alpha-nvim (optional)

opts = function(_, dashboard)
local button = dashboard.button("p", " " .. " Projects", pick)
button.opts.hl = "AlphaButtons"
button.opts.hl_shortcut = "AlphaShortcut"
table.insert(dashboard.section.buttons.val, 4, button)
end

mini.starter (optional)

opts = function(_, opts)
local items = {
{
name = "Projects",
action = pick,
section = string.rep(" ", 22) .. "Telescope",
},
}
vim.list_extend(opts.items, items)
end

dashboard-nvim (optional)

opts = function(_, opts)
if not vim.tbl_get(opts, "config", "center") then
return
end
local projects = {
action = pick,
desc = " Projects",
icon = " ",
key = "p",
}

projects.desc = projects.desc .. string.rep(" ", 43 - #projects.desc)
projects.key_format = " %s"

table.insert(opts.config.center, 3, projects)
end

snacks.nvim (optional)

opts = function(_, opts)
table.insert(opts.dashboard.preset.keys, 3, {
action = pick,
desc = "Projects",
icon = " ",
key = "p",
})
end