Skip to content

Add /rename command for session renaming with Ctrl+R shortcut #2933

@IgorOhrimenko

Description

@IgorOhrimenko

What would you like to be added?

Add a /rename slash command to allow users to rename the current session in both CLI and IDE interfaces. Additionally, support a Ctrl+R keyboard shortcut to quickly rename the session via an inline input dialog.

Proposed behavior:

  • /rename — Opens an input dialog (in CLI) or text field (in IDE) to rename the current session. The new name should be displayed in the /resume conversation picker instead of (or alongside) the session UUID, making it easier to identify and find past sessions.
  • Ctrl+R — A quick keyboard shortcut that triggers the same rename dialog, providing a faster workflow for users who prefer keyboard navigation.

Why is this needed?

Currently, sessions are identified only by their UUID or the initial prompt message in the /resume conversation picker. This makes it difficult to:

  • Organize multiple parallel sessions on different topics
  • Quickly identify a specific past conversation when resuming work
  • Maintain a clean and understandable session history

Other AI coding agents (e.g., Claude Code) already have session rename functionality, and this is considered a basic usability feature for managing multiple conversations.

Note

This is the CLI/terminal equivalent of the VS Code session rename request in #2619. Please consider linking these issues as related.

Additional context

  • Session data is stored in ~/.qwen/projects/<sanitized-cwd>/chats/<session-uuid>.jsonl
  • The rename should update metadata in the session file to persist the custom name
  • The /resume picker should display the custom name prominently

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions