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