Browse Source

fix(docs): Add missing semicolon to examples

Co-authored-by: Christian Stücklberger <christian.stuecklberger@ergon.ch>
xmkb
Christian Stücklberger 4 years ago committed by GitHub
parent
commit
8196b1d46b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/docs/behaviors/hold-tap.md
  2. 11
      docs/docs/behaviors/mod-morph.md
  3. 4
      docs/docs/behaviors/mod-tap.md
  4. 4
      docs/docs/behaviors/sticky-key.md
  5. 4
      docs/docs/behaviors/sticky-layer.md

2
docs/docs/behaviors/hold-tap.md

@ -56,7 +56,7 @@ For example, if you press `&mt LEFT_SHIFT A` and then release it without pressin
``` ```
&mt { &mt {
retro-tap; retro-tap;
} };
``` ```
#### Home row mods #### Home row mods

11
docs/docs/behaviors/mod-morph.md

@ -22,21 +22,20 @@ An example of how to implement the mod-morph "Grave Escape":
``` ```
/ { / {
behaviors { behaviors {
gresc: grave_escape { gresc: grave_escape {
compatible = "zmk,behavior-mod-morph"; compatible = "zmk,behavior-mod-morph";
label = "GRAVE_ESCAPE"; label = "GRAVE_ESCAPE";
#binding-cells = <0>; #binding-cells = <0>;
bindings = <&kp ESC>, <&kp GRAVE>; bindings = <&kp ESC>, <&kp GRAVE>;
mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>; mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>;
} };
};
};
keymap { keymap {
... ...
} };
} };
``` ```
Note that this specific mod-morph exists in ZMK by default using code `&gresc`. Note that this specific mod-morph exists in ZMK by default using code `&gresc`.

4
docs/docs/behaviors/mod-tap.md

@ -40,8 +40,8 @@ You can configure a different tapping term in your keymap:
/ { / {
keymap { keymap {
... ...
} };
} };
``` ```
### Additional information ### Additional information

4
docs/docs/behaviors/sticky-key.md

@ -38,8 +38,8 @@ You can configure a different `release-after-ms` in your keymap:
/ { / {
keymap { keymap {
... ...
} };
} };
``` ```
### Advanced usage ### Advanced usage

4
docs/docs/behaviors/sticky-layer.md

@ -32,8 +32,8 @@ You can configure a different `release-after-ms` in your keymap:
/ { / {
keymap { keymap {
... ...
} };
} };
``` ```
### Advanced usage ### Advanced usage

Loading…
Cancel
Save