diff --git a/docs/keyd.scdoc b/docs/keyd.scdoc index 04202bd..c0c3380 100644 --- a/docs/keyd.scdoc +++ b/docs/keyd.scdoc @@ -634,6 +634,25 @@ of _will thus produce A-tab instead of M-\\_. rightshift = capslock ``` +## Example 7 + +``` + # holding capslock + tapping h/j/k/l will work as left/down/up/right. + # holding capslock + tapping keys (any other than h/j/k/l) will work as control+keys + # Tapping ESC will toggle capslock. + # Tapping capslock will activate esc. + + [main] + capslock = overload(capslock, esc) + esc = capslock + + [capslock:C] + h = left + k = up + j = down + l = right +``` + # AUTHOR Written by Raheman Vaiya (2017-).