Add support for Ctrl modifier key and classic keyboard shortcuts (Ctrl+C, Ctrl+V, Ctrl+X, Ctrl+A)
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 45/100
Rechercherichtung
Start by reading the Android input-method code that handles key presses and InputConnection, along with the layout JSON parsing and rendering paths; the issue does not name specific files or tests. Check how existing modifier keys are represented and how editor actions are dispatched. Done means a configurable Ctrl key can trigger the requested copy, paste, cut, and select-all shortcuts; optional shortcuts and visual feedback are secondary.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Dear LeanType developers,
First of all, thank you for this great open-source keyboard — it's lightweight, privacy-friendly, and highly customizable.
I would like to request a feature that would significantly improve productivity for users who type a lot of text:
Add a Ctrl modifier key and support for classic keyboard shortcuts like:
Ctrl + C — Copy
Ctrl + V — Paste
Ctrl + X — Cut
Ctrl + A — Select All
Ctrl + Z — Undo (optional)
Ctrl + Y — Redo (optional)
Ctrl + S — Save (optional)
Ctrl + F — Find (optional)
Why this is important:
Many users are accustomed to these shortcuts from desktop environments and physical keyboards.
Other Android keyboards (e.g., jbak2, ru7pro, Hackers Keyboard) already support this natively.
It would make LeanType a more viable alternative for power users who rely on text editing on mobile devices.
Technical note:
This can be implemented by tracking the state of the Ctrl key (pressed/released) and intercepting subsequent key presses via InputConnection. The shortcut actions can then be mapped to standard EditorInfo commands like EditorInfo.IME_ACTION_COPY, EditorInfo.IME_ACTION_PASTE, etc.
Suggested implementation:
Add a new key type: "modifier": "ctrl" in layout JSON
When Ctrl is held and a letter key is pressed, execute the corresponding shortcut instead of inserting the character
Visual feedback (e.g., highlighted Ctrl key when active) would be a nice bonus
Use case:
As a user, I want to place a Ctrl key on the left side of the bottom row (next to ?123) and use it with C, V, X, A for fast text manipulation — just like on a physical keyboard.
I hope you consider adding this feature. It would make LeanType not just a minimalist Gboard alternative, but a truly professional-grade keyboard.
Thank you for your time and effort!
P.S. I can help with testing if needed.
- Vorherrschende Sprache
- Kotlin
- Sterne
- 1k
- Forks
- 59
- Ø Merge
- 13 Std. 11 Min.
- Gemergte PRs (30 T.)
- 47
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus LeanBitLab/LeanType
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
LeanBitLab/LeanType#713 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
LeanBitLab/LeanType#423 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Crush ReportOffen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 20/100
LeanBitLab/LeanType#715 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Text Expander/cursor-handling bugEvtl. vergeben @LeanBitLab hat das vor 2 Tagen übernommen. Offenbug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 62/100
LeanBitLab/LeanType#703 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
LeanBitLab/LeanType#699 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in LeanBitLab/LeanType
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
apache/cassandra-easy-stress#112 ·
-
afk-ok area:data-quality importer size:S
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
enorm-labs/event-junkie#3767 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Resource]: CrewforthOffenresource-submission validation-passed
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 84/100
hesreallyhim/awesome-claude-code#3201 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
software-mansion/starknet-jvm#641 ·
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
leboncoin/spark-android#2342 ·
Maintainer antworten meist innerhalb von 1 Tag