diff --git a/home/.config/nvim/lua/plugins/alpha.lua b/home/.config/nvim/lua/plugins/alpha.lua index 64cb66c..792ea76 100644 --- a/home/.config/nvim/lua/plugins/alpha.lua +++ b/home/.config/nvim/lua/plugins/alpha.lua @@ -14,9 +14,14 @@ return { [[ \/_/\/_/\/____/\/___/ \/__/ \/_/\/_/\/_/\/_/]], } dashboard.section.buttons.val = { + dashboard.button( + "p", + "📽 Open a project", + ":lua require('telescope').extensions.project.project()" + ), dashboard.button("e", " New file", ":ene startinsert "), - dashboard.button("", "🔍 Find file", "Telescope find_files"), - dashboard.button("", "𑪢 Grep files", "Telescope live_grep"), + dashboard.button("", "🔍 Find file", "Telescope find_files"), + dashboard.button("", "𑪢 Grep files", "Telescope live_grep"), dashboard.button("l", "🛋 Lazy", ":Lazy"), dashboard.button("m", "📦 Mason", ":Mason"), dashboard.button("q", "ꭙ Quit NeoVim", ":qa"), diff --git a/home/.config/nvim/lua/plugins/telescope.lua b/home/.config/nvim/lua/plugins/telescope.lua index 8a9155e..0a8435a 100644 --- a/home/.config/nvim/lua/plugins/telescope.lua +++ b/home/.config/nvim/lua/plugins/telescope.lua @@ -87,7 +87,7 @@ return { builtin.live_grep, }, { - desc = "Change to a project", + desc = "Open a project", "p", extensions.project.project, },