Add support for Ctrl modifier key and classic keyboard shortcuts (Ctrl+C, Ctrl+V, Ctrl+X, Ctrl+A)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Kotlin
- スター
- 1k
- フォーク
- 59
- 平均マージ
- 13時間 11分
- マージ済み PR(30日)
- 47
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
LeanBitLab/LeanType のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
LeanBitLab/LeanType#713 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
LeanBitLab/LeanType#423 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Crush Reportオープン
難易度 3/5 1〜2日 初心者へのやさしさ 20/100
LeanBitLab/LeanType#715 ·
メンテナーはふだん 1 日以内に返信
-
Text Expander/cursor-handling bug対応中かも @LeanBitLab が 2 日前に担当しました。 オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
LeanBitLab/LeanType#703 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
LeanBitLab/LeanType#699 ·
メンテナーはふだん 1 日以内に返信
LeanBitLab/LeanType の issue をすべて見る
似ている issue
-
afk-ok area:data-quality importer size:S
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
enorm-labs/event-junkie#3767 ·
メンテナーはふだん 1 日以内に返信
-
resource-submission validation-passed
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
hesreallyhim/awesome-claude-code#3201 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
software-mansion/starknet-jvm#641 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
leboncoin/spark-android#2342 ·
メンテナーはふだん 1 日以内に返信
-
The Voraton URL has been changed対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンBug Domain changed
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
keiyoushi/extensions-source#20257 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信