Skip to content

Commit

Permalink
add example to keyd.scdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
shaeinst authored Jun 23, 2022
1 parent b7c09b3 commit a9bfbd9
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/keyd.scdoc
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,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-).
Expand Down

0 comments on commit a9bfbd9

Please sign in to comment.