rbreaves / kinto

Mac-style shortcut keys for Linux & Windows.
http://kinto.sh
GNU General Public License v2.0
4.42k stars 213 forks source link

Get back Ctrl+Backspace (backwards delete word), Ctrl+Arrows and Ctrl+Shift+Arrows on Windows #645

Open hugows opened 2 years ago

hugows commented 2 years ago

Hello all,

I love these Windows shortcuts with the Control key - I have them even on Mac, where I used Karabiner to add them - they are called PC-style shortcuts on the forum.

I can confirm that they still work on WIndows 11 by suspending Kinto. Any tips on how can I get those back with Kinto enabled?

I feel like they are the ones missing for my use to be perfect!

Thank you so much for this lifesaver project!

rbreaves commented 2 years ago

When you say Ctrl arrows I assume you mean the Cmd key position and arrow keys? That should already work on Windows just fine. Not sure about Ctrl - Backspace off of my head. It may also very with the app as well.

I use this daily though with Sublime Text and VSCode - although VSCode takes some manual effort which I probably laid out already in an issue ticket. I basically just add Sublime text to the VSCode editors group in the kinto.ahk and or kinto.py config files and then change the filter line for Sublime Text to the VSCode editor group variable instead, which contains Sublime Text - then I also manually add in the Sublime Text preferences keybinding file.

Only way to fix it though for an electron app.

Sublime Text Keymap
~/Library/Application Support/Sublime Text 3/Preferences.sublime-settings
~/.config/sublime-tex*/Preferences.sublime-settings
%userprofile%\AppData\Roaming\Sublime Text\Preferences.sublime-settings

Sum it up to say - the support may already be there, but may also vary with the app. Browsers can cause some conflicts, but it should work there too already w/o anything special needing to be done, technically it should be context aware and behave differently if a text field is not highlighted (back and forward buttons).. and I supported that at one time before having to pull that back out to move the project forward.