summaryrefslogtreecommitdiff
path: root/Home.md
diff options
context:
space:
mode:
authorErez Zukerman <bulk@ezuk.org>2016-10-12 22:19:35 -0400
committerErez Zukerman <bulk@ezuk.org>2016-10-12 22:19:35 -0400
commitb7533e0abf1739196816519704c50528560b384c (patch)
treecfcfa14a77753d947243b3609cd0b7f8d0595fba /Home.md
parentc66b090d4cf7c750a2ce9c9e3d877381a1406355 (diff)
Documents `TO`.
Diffstat (limited to 'Home.md')
-rw-r--r--Home.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/Home.md b/Home.md
index ea20b5e017..6567e347cb 100644
--- a/Home.md
+++ b/Home.md
@@ -376,6 +376,7 @@ Instead of using `FNx` when defining `ACTION_*` functions, you can use `F(x)` -
`TG(layer)` - toggles a layer on or off. As with `MO()`, you should set this key as `KC_TRNS` in the destination layer so that tapping it again actually toggles back to the original layer. Only works upwards in the layer stack.
+`TO(layer)` - Goes to a layer. This code is special, because it lets you go either up or down the stack -- just goes directly to the layer you want. So while other codes only let you go _up_ the stack (from layer 0 to layer 3, for example), `TO(2)` is going to get you to layer 2, no matter where you activate it from -- even if you're currently on layer 5. This gets activated on keydown (as soon as the key is pressed).
### Fun with modifier keys