Skip to content

fix: Ensure ctrl-space is fed through from WinTerminal to neovim#80

Merged
davidjenni merged 1 commit into
mainfrom
winterm-ctrl-space
Jul 1, 2026
Merged

fix: Ensure ctrl-space is fed through from WinTerminal to neovim#80
davidjenni merged 1 commit into
mainfrom
winterm-ctrl-space

Conversation

@davidjenni

Copy link
Copy Markdown
Owner

more details: https://harrymin.dev/posts/fix-terminal-keybindings-csi-u/

also remove long-obsolete settings.json (was replaced with the intro of configWinTerm.ps1)

more details: <https://harrymin.dev/posts/fix-terminal-keybindings-csi-u/>

also remove long-obsolete settings.json (was replaced with the intro of
configWinTerm.ps1)
Copilot AI review requested due to automatic review settings July 1, 2026 00:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Windows Terminal configuration flow so Ctrl+Space is sent through as a CSI-u sequence (so Neovim can distinguish it), and removes an obsolete repo-tracked Terminal settings file in favor of the existing configWinTerm.ps1-based approach.

Changes:

  • Add a Windows Terminal sendInput action for ctrl+space that emits the CSI-u escape (ESC[32;5u) for Neovim compatibility.
  • Delete win/settings.json, which is no longer used now that Terminal configuration is managed via win/configWinTerm.ps1.
  • Remove outdated bootstrap comments referring to initializing Terminal settings JSON manually.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
win/settings.json Removes the old, repo-tracked Windows Terminal settings file.
win/configWinTerm.ps1 Adds ctrl+spacesendInput CSI-u mapping during settings generation.
bootstrap.ps1 Removes obsolete comments about Terminal settings initialization.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread win/configWinTerm.ps1
@davidjenni
davidjenni merged commit 3863d6c into main Jul 1, 2026
4 checks passed
@davidjenni
davidjenni deleted the winterm-ctrl-space branch July 1, 2026 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants