Neovim: add open project to dashboard
This commit is contained in:
parent
b2a6de7ebc
commit
016c02a449
2 changed files with 8 additions and 3 deletions
|
@ -14,9 +14,14 @@ return {
|
|||
[[ \/_/\/_/\/____/\/___/ \/__/ \/_/\/_/\/_/\/_/]],
|
||||
}
|
||||
dashboard.section.buttons.val = {
|
||||
dashboard.button(
|
||||
"<leader>p",
|
||||
"📽 Open a project",
|
||||
":lua require('telescope').extensions.project.project()<CR>"
|
||||
),
|
||||
dashboard.button("e", " New file", ":ene <BAR> startinsert <CR>"),
|
||||
dashboard.button("<C-f>", "🔍 Find file", "<cmd>Telescope find_files<cr>"),
|
||||
dashboard.button("<C-g>", "𑪢 Grep files", "<cmd>Telescope live_grep<cr>"),
|
||||
dashboard.button("<C-f>", "🔍 Find file", "<cmd>Telescope find_files<CR>"),
|
||||
dashboard.button("<C-g>", "𑪢 Grep files", "<cmd>Telescope live_grep<CR>"),
|
||||
dashboard.button("l", "🛋 Lazy", ":Lazy<CR>"),
|
||||
dashboard.button("m", "📦 Mason", ":Mason<CR>"),
|
||||
dashboard.button("q", "ꭙ Quit NeoVim", ":qa<CR>"),
|
||||
|
|
|
@ -87,7 +87,7 @@ return {
|
|||
builtin.live_grep,
|
||||
},
|
||||
{
|
||||
desc = "Change to a project",
|
||||
desc = "Open a project",
|
||||
"<leader>p",
|
||||
extensions.project.project,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue