Skip to content

feat: add cursor to vscode string patterns#885

Open
stefvw93 wants to merge 1 commit intorbreaves:masterfrom
stefvw93:patch-1
Open

feat: add cursor to vscode string patterns#885
stefvw93 wants to merge 1 commit intorbreaves:masterfrom
stefvw93:patch-1

Conversation

@stefvw93
Copy link

Adds support for Cursor, which is a fork of VS Code with AI assistant integrations.

donaldguy added a commit to donaldguy/kinto that referenced this pull request Apr 26, 2025
…breaves#885 from, respectively: RedBear/patch-40 (via donaldguy/harmonize-724-and-719), RedBearAK/patch-59, RedBearAK/mac_numpad_feature (via  donaldguy/harmonize-744-and-724) & RedBearAK/patch-70

w/ menu order of OptSpecialChars, then Mac Numpad, then Media Arrows Fix
& kinto.ahk logic blocks in that same order.
@jonatas-ext
Copy link

UP!

@RedBearAK
Copy link
Contributor

@jonatas-ext

I think your other comment got lost, it only shows up in my email thread. I'm not the Kinto dev, although I have contributed to Kinto in the past. Now I maintain an alternative to Kinto that I called Toshy:

https://github.com/RedBearAK/toshy/

Its most obvious advantage over Kinto is that the keymapper fork has a number of fixes and supports various Wayland environments, while Kinto still only works in X11/Xorg sessions. But among other differences the default config file in Toshy also has many updates from Kinto's config, including a more extensive list of VSCode variants, and I can add more quite easily:

vscodes = [
    "code",
    "code - oss",
    "code-oss",
    "cursor",           # New VSCode variant with A.I. 
    "vscodium",
]
vscodes                         = [x.casefold() for x in vscodes]
vscodeStr                       = toRgxStr(vscodes)

It at least supports Cursor already.

You said in your email: "Support for the online versions would also be helpful." Toshy's keymapper fork also has support for matching on the window name in addition to the application class, so it might be possible in Toshy to match on a tab name in a web browser to enable activating the VSCode remaps while technically being in the same browser app window. Toshy's config fixes Cmd+W behavior with a selection of different "dialogs" by checking the window name.

Check it out if you're interested. You don't necessarily need to uninstall Kinto, but you will need to at least stop the Kinto/xkeysnail service and disable Kinto's autostart feature in the GUI app or tray icon menu, to prevent Kinto from auto-loading at startup, or there will be a conflict over the uinput device that would prevent Toshy from working. Otherwise Kinto and Toshy install and operate very differently.

If you install Toshy and have a question or issue, submit it on the Toshy repo:

https://github.com/RedBearAK/toshy/issues/

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