Skip to content

feat: bind Ctrl+Space to show completions - #54

Merged
cursor[bot] merged 1 commit into
mainfrom
cursor/complete-ctrl-space-15fc
Aug 29, 2026
Merged

feat: bind Ctrl+Space to show completions#54
cursor[bot] merged 1 commit into
mainfrom
cursor/complete-ctrl-space-15fc

Conversation

@nicholasadamou

@nicholasadamou nicholasadamou commented Aug 29, 2026

Copy link
Copy Markdown
Member

Summary

Wire Ctrl+Space (and the bare NUL many terminals send for that chord) to editor.complete while the editor is focused. Reserve Ctrl+Space from custom rebinds — same family as other terminal control bytes — and advertise it on the palette command and in the shortcuts help.

Test plan

  • bun test test/lsp-completion-ui.test.tsx — Ctrl+Space and NUL open the menu
  • bun test test/keybindings.test.tsx — Ctrl+Space rejected as reserved
  • bun test test/help-scroll.test.tsx
  • CI green
Open in Web Open in Cursor 

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@coderabbitai

coderabbitai Bot commented Aug 29, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 59 minutes.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: a28bc39e-ad29-47b5-9b53-260eed6159a1

📥 Commits

Reviewing files that changed from the base of the PR and between 7ef1c70 and 788f589.

📒 Files selected for processing (7)
  • scripts/file-size-budgets.json
  • src/app/commands.ts
  • src/app/keyboard.ts
  • src/core/keybindings.ts
  • src/ui/keys.ts
  • test/keybindings.test.tsx
  • test/lsp-completion-ui.test.tsx

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Hard-wire the usual autocomplete chord in the editor — terminals often
deliver it as a bare NUL — reserve Ctrl+Space from rebinds, and advertise
it in the palette hint and help overlay.

Co-authored-by: Nicholas Adamou <nicholasadamou@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cursor/complete-ctrl-space-15fc branch from ec9ae5b to 788f589 Compare August 29, 2026 12:15
@nicholasadamou
nicholasadamou marked this pull request as ready for review August 29, 2026 12:28
@cursor
cursor Bot merged commit 6e3d8cc into main Aug 29, 2026
6 of 7 checks passed
@cursor
cursor Bot deleted the cursor/complete-ctrl-space-15fc branch August 29, 2026 12:29
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