Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

double compose prefix #3

Open
dcherian opened this issue Dec 4, 2020 · 1 comment
Open

double compose prefix #3

dcherian opened this issue Dec 4, 2020 · 1 comment

Comments

@dcherian
Copy link

dcherian commented Dec 4, 2020

Thanks for #1!

It works really well with most things in https://github.com/kragen/xcompose but fails when the compose key is repeated. For e.g.

<Multi_key> <Multi_key> <p> <e> <a> <c> <e>

becomes

"peace": "☮"

is it possible to preserve the double compose prefix? Right now I get §§ if i hit the key twice.

@aloxe
Copy link
Contributor

aloxe commented Sep 21, 2022

@dcherian The double compose is possible with DefaultKeyBinding.dict so to generate it you need to add § in the string.

 "§peace": "☮"

will work. The quick workaround if you have many double <Multi_key> in your Xcompose file is to isolate them in a separate file, generate a new yaml file where you add a § after the first " of each line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants