[Bug]: Unable to exit nvim in terminal drawer using escape key
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 23k
- Forks
- 5.9k
- Avg merge
- 11h 14m
- Merged PRs (30d)
- 357
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
- Open a terminal drawer and use
vimto open a file. - press escape to enter command mode so that you can type q and exit
- it did not exit, vim never entered command mode
- Repeat steps 1 and 2 in cmux, this time it works
Expected behavior
I expected the escape key to send vim into command mode so that I could exit
Actual behavior
the escape is swallowed and vim does not enter command mode, and I'm unable to exit. I have to close the terminal.
Note this also means it's not possible to save changes to a file in vim from a t3code terminal pane
Impact
Major degradation or frequent failure
Version or commit
0.0.34-nightly.20260812.1077 (b73232bdd31e)
Environment
MacOS 26.5
Logs or stack traces
Screenshots, recordings, or supporting files
Notice the q appears in the bottom right:
In CMUX this is what it looks like:
and if I press escape then :q in cmux:
T3Code never reaches this point and is unable to enter command mode in nvim
Workaround
No response
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 in the apps/desktop terminal drawer by reproducing the issue with nvim on macOS and comparing it with cmux. Trace how the Escape key is handled, then verify that Escape enters command mode and that :q and saving a file work without closing the terminal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- neovim, typescript
- Domain
- cli, desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100