Switch from dashboard to alpha, add project.nvim telescope plugin
This commit is contained in:
parent
1ce80c1347
commit
e6b6534c8d
4 changed files with 24 additions and 33 deletions
|
@ -17,6 +17,13 @@ return {
|
|||
|
||||
-- cd plugin for telescope
|
||||
"zane-/cder.nvim",
|
||||
|
||||
-- Switch to a project
|
||||
{
|
||||
"ahmedkhalf/project.nvim",
|
||||
main = "project_nvim",
|
||||
config = true,
|
||||
},
|
||||
},
|
||||
opts = {
|
||||
-- Set layout to vertical
|
||||
|
@ -77,6 +84,11 @@ return {
|
|||
"<C-g>",
|
||||
"<cmd>Telescope live_grep<cr>",
|
||||
},
|
||||
{
|
||||
desc = "Change to a project",
|
||||
"<C-p>",
|
||||
"<cmd>Telescope projects<cr>",
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
local telescope = require("telescope")
|
||||
|
@ -86,5 +98,6 @@ return {
|
|||
telescope.load_extension("fzf")
|
||||
telescope.load_extension("ui-select")
|
||||
telescope.load_extension("cder")
|
||||
telescope.load_extension("projects")
|
||||
end,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue