-
Notifications
You must be signed in to change notification settings - Fork 187
Add period-double-space package #215
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # Period Double Space | ||
| This package replicates the behavior of macOS and mobile keyboards, allowing you to double tap the space key to create a period. | ||
|
|
||
| ## Credits | ||
|
|
||
| I, yellowwinner, only asked a question and packaged it. By default [**Espanso**](https://espanso.org/) does not let you have an empty trigger so after a couple of attempts this is the workaround. As far as I can tell this just works without issue. Thank you to `Archigos`, `.joh6nn` and `smeech0` on the [**Espanso Discord**](https://discord.gg/4QARseMS6k) for helping me get this to work. | ||
|
|
||
| #### This package has only been tested on PikaOS 4 (Debian Sid) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| name: "period-double-space" | ||
| title: "Period Double Space" | ||
| description: Add period with double-space, like macOS or smartphones. | ||
| homepage: "https://github.com/yellowwinner/period-double-space" | ||
| version: 0.1.0 | ||
| author: yellowwinner | ||
| tags: ["utility", "english", "symbols"] | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,3 @@ | ||||||
| matches: | ||||||
| - regex: "(\ \ )" | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would you kindly amend this to the simplest
|
||||||
| - regex: "(\ \ )" | |
| - regex: '( {2})' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not invalid, but as I pointed out the brackets are not needed. ' {2}' is perhaps the clearest of the alternatives, however.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description reads a bit grammatically off (“Add period…”). Consider adjusting to something like “Add a period with a double-space, like macOS or smartphones.” since this shows up as user-facing package metadata.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot is wrong - the replacement doesn't add a period with a double-space.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah - perhaps you mean "use double-space to add a period"?