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.

Alternatively, you can add it to your lazy.nvim imports
lua/config/lazy.lua
require("lazy").setup({
spec = {
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
{ import = "lazyvim.plugins.extras.util.project" },
{ import = "plugins" },
},
})

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.

telescope.nvim

opts = nil

project.nvim

project management

opts = {
manual_mode = true,
}

alpha-nvim (optional)

opts = function(_, dashboard)
local button = dashboard.button("p", " " .. " Projects", ":Telescope projects <CR>")
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 = "Telescope projects",
section = string.rep(" ", 22) .. "Telescope",
},
}
vim.list_extend(opts.items, items)
end

dashboard-nvim (optional)

opts = function(_, opts)
local projects = {
action = "Telescope projects",
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