Zulip Chat Archive
Stream: lean4
Topic: lean Unicode shortcuts in Android's gboard
Joachim Breitner (Sep 09 2024 at 07:45):
It seems that Android'a default keyboard allows abbreviations to be configured: https://github.com/DenverCoder1/latex-gboard-dictionary?tab=readme-ov-file can be used to get common latex abbreviations.
Has someone tried to put lean's abbreviations into this format and use it? Might be handy
Damiano Testa (Sep 09 2024 at 08:01):
Back in the lean3 days, Eric posted some instructions to get something similar. I have it working on my phone, but let me try to find the instructions!
Damiano Testa (Sep 09 2024 at 08:03):
#general > Unicode input on android
Eric Wieser (Sep 09 2024 at 09:10):
I've also toyed with the idea of making a custom gboard layout for Lean, since I have access to its source...
Yaël Dillies (Sep 09 2024 at 09:42):
Please please please :folded_hands: In return I will review all your future PRs in under a day
Joachim Breitner (Sep 09 2024 at 09:45):
Is that offer also valid for having \a
abbreviations in gboard, without changing the layout? Because then I’ll quickly whip out sed
before someone else takes up that very attractive offer :)
Eric Wieser (Sep 09 2024 at 09:51):
Joachim Breitner said:
Is that offer also valid for having
\a
abbreviations in gboard, without changing the layout? Because then I’ll quickly whip outsed
before someone else takes up that very attractive offer :)
I think that's already covered by Damiano's link above?
Joachim Breitner (Sep 09 2024 at 09:56):
Indeed, that’s true. I was first confused because that link suggests installing an extra app, but that look optional.
Damiano Testa (Sep 09 2024 at 09:56):
α
Damiano Testa (Sep 09 2024 at 09:56):
The previous message was typed on my phone, using \a
.
Eric Wieser (Sep 09 2024 at 10:08):
Joachim Breitner said:
Indeed, that’s true. I was first confused because that link suggests installing an extra app, but that look optional.
Whats the mechanism for installating shortcuts from a file without that extra app?
Joachim Breitner (Sep 09 2024 at 10:17):
Run the code , generate the zip, copy it to your mobile and import from Gboard settings>Dictionary>Personal Dictionary>All Languages>then choose import option from the drop-down menu
according to https://github.com/realKarthikNair/GBoard-Dictionary-Maker. Did not try it though. And a manager might be advisable in any case.
Last updated: May 02 2025 at 03:31 UTC