My Kinesis Freestyle at home has all sorts of programmable stuff, wouldn't be a problem there - the problem is that I have to share my time with a (Windows) laptop at work, so I try to find standard crossplatform solutions. I installed autohotkey and a bunch of other things but they look a bit complicated. I'm tempted to just get a second keyboard.
Another way is to get another keyboard with more thumb modifiers.