- You have too many projects scattered across the file system.
- You want a shortlist of projects that you are currently working on.
- A simple UI that lists all your projects.
- Projects are listed in order by activity and recency.
- Autoload projects from other plugins like harpoon. Only harpoon currently.
- install using lazy.nvim
{
"wildfunctions/marlinspike",
dependencies = { "nvim-lua/plenary.nvim" },
opts = {}
}
{
"wildfunctions/marlinspike",
dependencies = { "nvim-lua/plenary.nvim" },
opts = {
autoInit = false,
useDefaultKeymaps = false,
useGitRoot = false
}
}
These are the default keymaps:
<leader>ma : adds project to marlinspike list
<leader>mn : opens next marlinspike project in the list
<leader>me : toggles UI to select marlinspike project
Custom Keymaps can be set like the following code:
vim.keymap.set("n", "<leader>ma", function() require("marlinspike").addProject() end, {noremap = true, silent = true})
vim.keymap.set("n", "<leader>mn", function() require("marlinspike").loadNext() end, {noremap = true, silent = true})
vim.keymap.set("n", "<leader>me", function() require("marlinspike").openMenu() end, {noremap = true, silent = true})
Make an issue if you see anything that can be improved.