Add support for Ctrl modifier key and classic keyboard shortcuts (Ctrl+C, Ctrl+V, Ctrl+X, Ctrl+A)
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 45/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Kotlin
- Estrelas
- 1k
- Forks
- 59
- Merge médio
- 13h 11min
- PRs com merge (30d)
- 47
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de LeanBitLab/LeanType
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
LeanBitLab/LeanType#713 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
LeanBitLab/LeanType#423 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Crush ReportAberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 20/100
LeanBitLab/LeanType#715 ·
Mantenedores costumam responder em até 1 dia
-
Text Expander/cursor-handling bugTalvez já em andamento @LeanBitLab assumiu há 2 dias. Abertabug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 62/100
LeanBitLab/LeanType#703 · 1 comentário · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
LeanBitLab/LeanType#699 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de LeanBitLab/LeanType
Issues semelhantes
-
afk-ok area:data-quality importer size:S
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
enorm-labs/event-junkie#3767 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
leboncoin/spark-android#2342 ·
Mantenedores costumam responder em até 1 dia
-
The Voraton URL has been changedTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. AbertaBug Domain changed
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
keiyoushi/extensions-source#20257 · 1 comentário · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
Mantenedores costumam responder em até 1 dia
-
feature
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
user-grinch/RivoPhoneApp#302 ·
Mantenedores costumam responder em até 1 dia