MoonshotAI / MoonshotAI/kimi-cli
[Bug] VS Code: Cmd+N opens a new Kimi session and an untitled empty file
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 11.4k
- Forks
- 1.3k
- Avg merge
- 9h 47m
- Merged PRs (30d)
- 2
Description
What version of Kimi Code CLI is running?
Kimi VS Code extension version
Which open platform/subscription were you using?
VS Code extension
Which model were you using?
kimi k2.6
What platform is your computer?
mac
What issue are you seeing?
In the VS Code extension on macOS, pressing Cmd+N opens a new Kimi session, but it also makes VS Code create a new empty untitled file at the same time.
What steps can reproduce the bug?
- Open VS Code with the Kimi extension enabled.
- Focus the Kimi panel/input.
- Press
Cmd+N. - A new Kimi session is created.
- VS Code also opens a new empty untitled file.
What is the expected behavior?
Pressing Cmd+N in the Kimi VS Code extension should only create a new Kimi session, and should not also trigger VS Code to create a new empty file.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the Kimi VS Code extension with the Kimi panel/input focused on macOS, then inspect the entry point that handles Cmd+N and session creation. Done means Cmd+N creates only a new Kimi session and no untitled VS Code file appears.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vscode
- Domain
- desktop, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 65/100