Skip to content

Commit

Permalink
add combos for cut, copy and paste
Browse files Browse the repository at this point in the history
  • Loading branch information
wochap committed Aug 27, 2024
1 parent e96e99c commit 48b6aab
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,32 @@
};
};

// docs: https://zmk.dev/docs/keymaps/combos
combos {
compatible = "zmk,combos";
cut {
timeout-ms = <18>;
bindings = <&kp LC(X)>;
key-positions = <LB3 LB1>;
layers = <COLEMAK_DH QUERTY>;
require-prior-idle-ms = <150>;
};
copy {
timeout-ms = <18>;
bindings = <&kp LC(INS)>;
key-positions = <LB3 LB2>;
layers = <COLEMAK_DH QUERTY>;
require-prior-idle-ms = <150>;
};
paste {
timeout-ms = <18>;
bindings = <&kp LS(INS)>;
key-positions = <LB2 LB1>;
layers = <COLEMAK_DH QUERTY>;
require-prior-idle-ms = <150>;
};
};

keymap {
compatible = "zmk,keymap";
colemakdh_layer {
Expand Down

0 comments on commit 48b6aab

Please sign in to comment.