Friday, August 4, 2017

Replace [ with { and ] with } using AutoHotkey

I found that in coding I rarely use the square braces [] but use the curly braces {} often. On most keyboards, these are inputted using Shift+[ or Shift+].


Now I tried to use AutoHotkey to remap these keys by using:


[::{{}

Adding {} is raw mode basically, but it didn't work. Next I tried


{[}::{{}

but that also didn't work.


Any help?

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...