Add support for Ctrl modifier key and classic keyboard shortcuts (Ctrl+C, Ctrl+V, Ctrl+X, Ctrl+A)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Kotlin
- Star
- 1k
- Fork
- 59
- Merge trung bình
- 13 giờ 11 phút
- Pull request đã merge (30 ngày)
- 47
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của LeanBitLab/LeanType
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
LeanBitLab/LeanType#713 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
LeanBitLab/LeanType#423 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Crush ReportĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 20/100
LeanBitLab/LeanType#715 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Text Expander/cursor-handling bugCó thể đã có người làm @LeanBitLab đã nhận 2 ngày trước. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
LeanBitLab/LeanType#703 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
LeanBitLab/LeanType#699 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của LeanBitLab/LeanType
Issue tương tự
-
afk-ok area:data-quality importer size:S
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
enorm-labs/event-junkie#3767 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
leboncoin/spark-android#2342 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The Voraton URL has been changedCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởBug Domain changed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
keiyoushi/extensions-source#20257 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Improve Transition AnimationsĐang mởfeature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
user-grinch/RivoPhoneApp#302 ·
Maintainer thường phản hồi trong vòng 1 ngày