Replies: 2 comments 3 replies
-
if anyone is looking for a mini.starter integration, i wrote a function that gets recent projects from coffeebar/neovim-project :) (edited with suggestions below) local gen_proj_list = function(size)
local projects = require("neovim-project.utils.history").get_recent_projects()
local size = math.min(size, #projects)
local starter_items = {}
for i = 1, size do
local project = projects[i]
table.insert(starter_items, 1, { { name = vim.fs.basename(project), action = function()
require("neovim-project.project").switch_project(project)
end, section="Recent Projects" } })
end
return starter_items
end |
Beta Was this translation helpful? Give feedback.
2 replies
-
Thanks for the suggestion! 'mini.sessions' is intended as "project management" solution from 'mini.nvim'. At least that's how I use it and it seems to work fine. Especially together with 'mini.starter'. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Beta Was this translation helpful? Give feedback.
All reactions