Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I change shortcut keys with autohotkey?

I use a Dvorak keyboard. Shortcuts like ctrl+x, ctrl+c, and ctrl+v are hard to use, so is there any way to remap them to ctrl+q, ctrl+j, and ctrl+k respectively, using AutoHotKey? Thanks!

like image 214
Matthew Gregoire Avatar asked Dec 15 '25 20:12

Matthew Gregoire


1 Answers

It is straightforward indeed, only to achieve the effect you want, you need to code it the opposite way:

^q::^x
^j::^c
^k::^v

It translates to <what-keys-you-press>::<what-is-sent-instead>. Just be aware you may create a conflict, if some application happens to have these shortcuts defined.

like image 161
szczvr Avatar answered Dec 18 '25 18:12

szczvr



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!