[PR #350] [MERGED] Add configurable hotkey for editor autocomplete trigger #2910

Closed
opened 2026-06-08 21:57:33 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/350
Author: @gschier
Created: 1/7/2026
Status: Merged
Merged: 1/7/2026
Merged by: @gschier

Base: mainHead: autocomplete-hotkey


📝 Commits (4)

  • 33afafd Use unique Tauri identifier per worktree for app data isolation
  • 5c76d39 Add configurable hotkey for editor autocomplete trigger
  • 01b1495 Fix Space key recording in hotkey settings
  • 6cd2350 Hotkey filtering and small useHotkey refactor

📊 Changes

7 files changed (+137 additions, -51 deletions)

View changed files

📝 .gitignore (+3 -0)
📝 scripts/git-hooks/post-checkout.mjs (+12 -12)
📝 src-tauri/yaak-models/src/lib.rs (+2 -11)
📝 src-web/components/Settings/SettingsHotkeys.tsx (+35 -4)
📝 src-web/components/core/Editor/Editor.tsx (+9 -1)
📝 src-web/components/core/Editor/extensions.ts (+12 -1)
📝 src-web/hooks/useHotKey.ts (+64 -22)

📄 Description

  • Replaces hardcoded Ctrl-Space autocomplete trigger in CodeMirror with the existing configurable hotkey system
  • Adds new editor.autocomplete hotkey action that defaults to Control+Space on all platforms
  • Users can now customize the autocomplete trigger in Settings → Shortcuts
  • Add ability to filter hotkey settings pane
    CleanShot 2026-01-07 at 15 05 01@2x

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mountain-loop/yaak/pull/350 **Author:** [@gschier](https://github.com/gschier) **Created:** 1/7/2026 **Status:** ✅ Merged **Merged:** 1/7/2026 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `main` ← **Head:** `autocomplete-hotkey` --- ### 📝 Commits (4) - [`33afafd`](https://github.com/mountain-loop/yaak/commit/33afafd890cdee4948c09623fcafda152061bfbb) Use unique Tauri identifier per worktree for app data isolation - [`5c76d39`](https://github.com/mountain-loop/yaak/commit/5c76d399ef3d84494467d49aa6436a756210fccb) Add configurable hotkey for editor autocomplete trigger - [`01b1495`](https://github.com/mountain-loop/yaak/commit/01b14953fe598bd0b68c8dd4d567c3c98efee2fe) Fix Space key recording in hotkey settings - [`6cd2350`](https://github.com/mountain-loop/yaak/commit/6cd2350fad2462dc47730168fdcb7f47adadebc0) Hotkey filtering and small useHotkey refactor ### 📊 Changes **7 files changed** (+137 additions, -51 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+3 -0) 📝 `scripts/git-hooks/post-checkout.mjs` (+12 -12) 📝 `src-tauri/yaak-models/src/lib.rs` (+2 -11) 📝 `src-web/components/Settings/SettingsHotkeys.tsx` (+35 -4) 📝 `src-web/components/core/Editor/Editor.tsx` (+9 -1) 📝 `src-web/components/core/Editor/extensions.ts` (+12 -1) 📝 `src-web/hooks/useHotKey.ts` (+64 -22) </details> ### 📄 Description - Replaces hardcoded Ctrl-Space autocomplete trigger in CodeMirror with the existing configurable hotkey system - Adds new `editor.autocomplete` hotkey action that defaults to `Control+Space` on all platforms - Users can now customize the autocomplete trigger in Settings → Shortcuts - Add ability to filter hotkey settings pane <img width="1560" height="840" alt="CleanShot 2026-01-07 at 15 05 01@2x" src="https://github.com/user-attachments/assets/b6984924-ca95-4c46-aa91-8f1644bcb7be" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-06-08 21:57:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/yaak#2910