How can I have multiple sidekick cli sessions attached to a single directory #208
Unanswered
Raaghav-Arya
asked this question in
Q&A
Replies: 1 comment
-
|
This work-around works for me: -- HACK: allow multiple sessions of claude code per cwd
{
"folke/sidekick.nvim",
optional = true,
-- stylua: ignore
keys = {
{ "<leader>at", function() require("sidekick.cli").toggle({ name = "claude_tmp" }) end, desc = "Claude Temp" },
{ "<leader>at", function() require("sidekick.cli").send({ msg = "{this}", filter = { name = "claude_tmp" } }) end, mode = "x", desc = "Claude Temp" },
},
---@param opts sidekick.Config
opts = function(_, opts)
opts.cli = opts.cli or {}
opts.cli.tools = opts.cli.tools or {}
opts.cli.tools.claude_tmp = vim.deepcopy(opts.cli.tools.claude or { cmd = { "claude" } })
end,
}, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I want to have multiple claude code instances for the same directory.
I use tmux as my mux.
When I run the command:
It shown an option to open a new cli session only if a session attached to any previous directory is not there.
Otherwise it only shows a list of existing cli sessions.
Beta Was this translation helpful? Give feedback.
All reactions