Skip to content

Conversation

@Endolite
Copy link

@Endolite Endolite commented Sep 2, 2025

Describe your changes. Use imperative present tense.

Add smart-rpt, which functions as outlined in #1595.

Checklist

  • Add documentation to docs/config.adoc
    • Yes
  • Add example and basic docs to cfg_samples/kanata.kbd
    • Yes
  • Update error messages
    • N/A
  • Added tests, or did manual testing
    • Yes

Copy link
Owner

@jtroo jtroo left a comment

Choose a reason for hiding this comment

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

Please add smart-rpt test cases to src/tests/sim_tests/

Copy link
Owner

Choose a reason for hiding this comment

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

Undo the reformatting of this file please

)
----

The `smart-rpt` action repeats the most recently input key but goes back at most one additional key on backspace. For example, the sequence `<H> <e> <l> <o> <smart-rpt> <bspace> <bspace> <smart-rpt> <o>` outputs `Hello`, while replacing `smart-rpt` with `rpt` outputs `Heo`.
Copy link
Owner

Choose a reason for hiding this comment

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

Please use either one sentence per line or semantic line breaks.

@jtroo jtroo force-pushed the main branch 2 times, most recently from 4a2cbcd to 789b815 Compare December 17, 2025 06:26
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.

2 participants