coder / coder/claudecode.nvim

[FEATURE] Add ability to resume from other session despite current ongoing session

Open
#147 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
3.1k
Forks
216
PR merge metrics
No merged PRs in 30d

Description

## Feature Description

Right now, you can resume from a previous session when Claude Code hasn't yet been toggled on yet. However, if I want to potentially switch to another Claude Code session while you've already toggled it, then you need to 1) go to the current Claude Code session, 2) terminate the session, and 3) trigger `:ClaudeCode --resume`.

Ideally, we can just trigger something like `:ClaudeCode --resume` and that would just pull up the list of previous Claude Code session.

## Use Case

This would make Claude Code session management much easier.

## Proposed Solution

A nice solution would be to add a more generic `:ClaudeCodeCommand` that allows users to send arbitrary Claude Code commands, e.g. `:ClaudeCodeCommand clear` would run `/clear` within the Claude Code session.

## Alternatives Considered

The alternative is to 1) go to the current Claude Code session, 2) terminate the session, and 3) trigger `:ClaudeCode --resume`.

## Additional Context

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.