Skip to content

Add new "no-fn-tilde" package#230

Merged
smeech merged 5 commits into
espanso:mainfrom
ArturNTx:main
Jul 1, 2026
Merged

Add new "no-fn-tilde" package#230
smeech merged 5 commits into
espanso:mainfrom
ArturNTx:main

Conversation

@ArturNTx

Copy link
Copy Markdown
Contributor

A simple package to help type words with tildes on ANSI keyboards without a dedicated tilde key

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-tilde package metadata via _manifest.yml (name/title/description/homepage/version/tags).
  • Adds the package match rules in package.yml to convert ...çao...ção and ...çoes...ções.
  • Adds a bilingual README.md describing 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.

Comment thread packages/no-fn-tilde/0.1.0/README.md Outdated
Comment thread packages/no-fn-tilde/0.1.0/README.md Outdated

## 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 smeech left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread packages/no-fn-tilde/0.1.0/package.yml Outdated
@@ -0,0 +1,5 @@
matches:
- regex: "\\b(?P<word>\\w*)çao\\b"

@smeech smeech Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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"]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For compatibility with https://hub.espanso.org/portuguese-accents, would it be appropriate to add "portuguese" and"languages" tags?

ArturNTx and others added 3 commits July 1, 2026 09:16
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@ArturNTx ArturNTx marked this pull request as draft July 1, 2026 12:53
@ArturNTx ArturNTx marked this pull request as ready for review July 1, 2026 13:04
@ArturNTx ArturNTx requested a review from smeech July 1, 2026 13:04

@ArturNTx ArturNTx left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested fixes / changes

@smeech smeech merged commit bd50f11 into espanso:main Jul 1, 2026
1 check passed
@smeech

smeech commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Thank you. The package should appear in Espanso Hub in a few hours.

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

Successfully merging this pull request may close these issues.

3 participants