Add new "no-fn-tilde" package#230
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new Espanso package (“no-fn-tilde”) intended to reduce the need to manually type the Portuguese tilde on ANSI keyboards by auto-correcting common ção/ções endings when typed without ã.
Changes:
- Introduces
no-fn-tildepackage metadata via_manifest.yml(name/title/description/homepage/version/tags). - Adds the package match rules in
package.ymlto convert...çao→...çãoand...çoes→...ções. - Adds a bilingual
README.mddescribing the motivation and purpose.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| packages/no-fn-tilde/0.1.0/README.md | Documents the package purpose and intended audience in EN + PT-BR. |
| packages/no-fn-tilde/0.1.0/package.yml | Defines regex-based replacements for ção / ções endings. |
| packages/no-fn-tilde/0.1.0/_manifest.yml | Registers the package in the repository’s package manifest format. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| ## PT-BR 🇺🇸 | ||
|
|
||
| Usei por um bom tempo um teclado ZIYOULANG K68, o qual não possui uma tecla dedicada para til, o que causa um desconforto, visto que é necessário pressionar 3 teclas para acionar o til (fn + shift + esc), esse pacote visa diminuir a necessidade de acionar o til em palavras terminadas em ção e ções, auto adicionando o til automaticamente. |
smeech
left a comment
There was a problem hiding this comment.
A small package with two regex: triggers. No shell, script or potentially malicious code.
I've let Copilot do its stuff, which raises a good point about the README.md flag characters. I'll leave the Portuguese to you! I'll run the automated checks in the meantime.
| @@ -0,0 +1,5 @@ | |||
| matches: | |||
| - regex: "\\b(?P<word>\\w*)çao\\b" | |||
There was a problem hiding this comment.
For Regex efficiency, I would suggest replacing the "w*" with "w+" in both instances (unless you want to pick up "çao" and "çoes" on their own, rather than just as word suffixes).
| homepage: "https://github.com/ArturNTx/nofntilde" | ||
| version: 0.1.0 | ||
| author: Artur V. Neto | ||
| tags: ["pt-br", "ansi", "tilde"] |
There was a problem hiding this comment.
For compatibility with https://hub.espanso.org/portuguese-accents, would it be appropriate to add "portuguese" and"languages" tags?
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
ArturNTx
left a comment
There was a problem hiding this comment.
Suggested fixes / changes
|
Thank you. The package should appear in Espanso Hub in a few hours. |
A simple package to help type words with tildes on ANSI keyboards without a dedicated tilde key