You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Unable to exit nvim in terminal drawer using escape key #6362
changed the title [-][Bug]: Unable to exit vim in terminal drawer using escape key[/-][+][Bug]: Unable to exit nvim in terminal drawer using escape key[/+]on Aug 12, 2026
Bare Escape is forwarded to the PTY while the terminal drawer has focus, so vim/nvim can leave insert mode. The drawer still closes with mod+w. Escape continues to dismiss the command palette and other overlays when those are actually open.
This and many similar little nuisances when using the terminal could be fixed if there was a setting similar to terminal.integrated.commandsToSkipShell in VSCode that forwards all key strokes to PTY while the terminal is in focus.
I have rebound escape to caps look, and for me if I press the old escape key I can change mode in NeoVim, but my rebound key does not work. There is also a problem with using keyboards shortcuts such as ctrl-d, ctrl-n etc...
I have rebound escape to caps look, and for me if I press the old escape key I can change mode in NeoVim, but my rebound key does not work. There is also a problem with using keyboards shortcuts such as ctrl-d, ctrl-n etc...
Agreed the default binding of ctrl-d to "split the terminal" is bananas given that key combo in Linux and MacOS terminals signals "end of input" and closes the terminal.
Thanks for the report. This is fixed in current main. The maintainer confirmed Escape worked in current code and the reporter later confirmed the issue is fixed in current beta releases. Please test on the nightly built from main on 2026-10-21, or on the next stable release. If the problem still occurs there, please open a new issue that links to this one, with your version and steps to reproduce it.
Activity
[-][Bug]: Unable to exit vim in terminal drawer using escape key[/-][+][Bug]: Unable to exit nvim in terminal drawer using escape key[/+]maslinedwin commentedon Aug 16, 2026
Opened a fix in #7203.
Bare Escape is forwarded to the PTY while the terminal drawer has focus, so vim/nvim can leave insert mode. The drawer still closes with
mod+w. Escape continues to dismiss the command palette and other overlays when those are actually open.julibeg commentedon Aug 21, 2026
This and many similar little nuisances when using the terminal could be fixed if there was a setting similar to
terminal.integrated.commandsToSkipShellin VSCode that forwards all key strokes to PTY while the terminal is in focus.enkvadrat commentedon Sep 9, 2026
I have rebound escape to caps look, and for me if I press the old escape key I can change mode in NeoVim, but my rebound key does not work. There is also a problem with using keyboards shortcuts such as ctrl-d, ctrl-n etc...
PrymalInstynct commentedon Sep 11, 2026
Agreed the default binding of ctrl-d to "split the terminal" is bananas given that key combo in Linux and MacOS terminals signals "end of input" and closes the terminal.
tomjn commentedon Oct 21, 2026
this is fixed for me in current beta releases
t3dotgg commentedon Oct 21, 2026
Note
🤖 Claude Opus 5.5 responding on behalf of Theo
Thanks for the report. This is fixed in current main. The maintainer confirmed Escape worked in current code and the reporter later confirmed the issue is fixed in current beta releases. Please test on the nightly built from main on 2026-10-21, or on the next stable release. If the problem still occurs there, please open a new issue that links to this one, with your version and steps to reproduce it.