zmkafk/config/corne.keymap
Christina Sørensen 488d142b3c
Some checks are pending
CI / Build (push) Waiting to run
feat: arrwos
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-10-15 19:55:39 +02:00

52 lines
1.8 KiB
Text

/*
* Copyright (c) 2024 Christina Sørensen
* SPDX-License-Identifier: EUPL-1.2
*/
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
#define DEFAULT 0
#define NUMBERS 1
#define ARROWS 2
&mt {
tapping-term-ms = <150>;
quick-tap-ms = <200>;
flavor = "tap-preferred";
};
/ {
keymap {
compatible = "zmk,keymap";
default_layer {
bindings = <
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BACKSLASH
&mt LGUI ESC &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&mt LSHIFT LPAR &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &mt RSHIFT RPAR
&mt LCTRL SPC &mt RALT RET &lt ARROWS EQUAL &lt NUMBERS MINUS &kp DEL &mt LALT BSPC
>;
};
NUMBERS {
bindings = <
&kp GRAVE &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp ASTRK &kp LPAR &kp RPAR &kp PIPE
&kp LEFT_BRACE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp RIGHT_BRACE
&kp LEFT_BRACKET &trans &trans &trans &trans &trans &kp UNDERSCORE &kp PLUS &kp COMMA &kp DOT &kp PIPE &kp RIGHT_BRACKET
&mt LCTRL SPC &mt RALT RET &kp EQUAL &kp MINUS &kp DEL &mt LALT BSPC
>;
};
ARROWS {
bindings = <
&kp F11 &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F12
&kp LEFT_BRACE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans &trans
&kp LEFT_BRACKET &trans &trans &trans &trans &trans &kp UNDERSCORE &kp PLUS &kp COMMA &trans &trans &trans
&mt LCTRL SPC &mt RALT RET &kp EQUAL &kp MINUS &kp DEL &mt LALT BSPC
>;
};
};
};