After many failed attempts at getting extends/BBKT working on my system, I stumbled on this bare-bones setup. It gives me 85% of the extends functionality that I need whilst working out of the box with my system.
Caps-lock is the modifier on long presses, and an escape key on single presses. So far I've managed to port over the arrow keys, and 'modifier + o' as backspace from extends.
Now I'm looking to add:
1. 'modifier + t ' as Left control
2. 'modifier + spacebar' as Return
My setup works as follows:
Created this file: "~/.xmodmap"
keycode 66 = Mode_switch
keysym i = i I Right
keysym o = o O BackSpace
keysym e = e E Up
keysym n = n N Down
keysym h = h H Left
Added these two lines to bashrc:
xmodmap ~/.xmodmap
xcape -e 'Mode_switch=Escape'
How might I go about adding these features with xcape and xmodmap?
The setup was taken from:
https://unix.stackexchange.com/question … aps-to-esc