I think this is out of scope for OneShot. It’s already fairly complicated, implementing this would make it even more so. What you can do is double-tap the modifiers you want to be active for longer, press or hold any other key as many times as you wish, and when done, a third tap on the modifier undoes the stickyness. It’s a bit more work, as you have to tap a key twice, and remember to unsticky it (the
ActiveModColor plugin helps with that), but it’s much more reliable than a timer-based solution would be.
In other words, to delete multiple words, say, give, you’d do this sequence:
Ctrl Ctrl Backspace Backspace Backspace Backspace Backspace Ctrl. Since OneShots do not cancel each other, and you can have multiple ones active at the same time (even multiple sticky ones!) you can even do
Ctrl Ctrl Shift Shift Left Left Left Ctrl Shift to select three words to the left. Or you can hold shift, and do
Ctrl Ctrl Shift+Left Shift+Left Shift+Left Ctrl to achieve the same thing.
Hope this helps.
It’s great to hear they’re proving useful, thank you!