Small Neovim helper for workspaces with multiple nearby Jujutsu repositories.
- Discovers
.jjrepositories from the current working directory. - Shows a combined Snacks picker for changed files.
- Previews diffs with
jj -R <repo> diff -- <path>. - Shows a combined Snacks log picker with summary previews.
- Opens selected file diffs through
diffview-plus.nvim.
require("jj-multi").setup({
discovery = {
depth = 1,
},
})Suggested LazyVim key:
vim.keymap.set("n", "<leader>js", "<cmd>JjMultiStatus<cr>", { desc = "JJ multi status" })
vim.keymap.set("n", "<leader>jl", "<cmd>JjMultiLog<cr>", { desc = "JJ multi log" })- Neovim 0.12 or newer.
jj.snacks.nvimpicker.diffview-plus.nvimconfigured for jj, for Diffview actions.