0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00
vim/runtime/syntax/testdir/input/dts_zmk.keymap

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
365 B
Plaintext
Raw Normal View History

#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
// Define macro for layers.
#define LAYER_MAIN 0
/ {
keymap {
compatible = "zmk,keymap";
layer_0 {
bindings = <
&kp Z
&kp M
&kp K
&zmk_string
&to LAYER_MAIN
>;
};
};
ZMK_MACRO(zmk_string, wait-ms = <10>; tap-ms = <10>; bindings = <&macro_tap &kp Z &kp M &kp K>;)
};