Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

Add support for Ctrl modifier key and classic keyboard shortcuts (Ctrl+C, Ctrl+V, Ctrl+X, Ctrl+A)

Ouverte
#500 8 commentaires 1 réaction 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
45/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
android, kotlin
Domaine
mobile

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

enhancement

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.

Langage dominant
Kotlin
Étoiles
1k
Forks
59
Merge moyen
13 h 11 min
PR mergées (30 j)
47

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de LeanBitLab/LeanType

Toutes les issues de LeanBitLab/LeanType

Issues similaires

Plus d'issues Kotlin

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.