Skip to content
This repository was archived by the owner on May 24, 2024. It is now read-only.

Commit d18718b

Browse files
authored
Remove Function2 layer
Not using it for now, and couldn't make it work in the same key as Function1 with tap-dance and hold-tap. Keep things simple until I actually find a use for it.
1 parent 9afc0fe commit d18718b

File tree

1 file changed

+5
-46
lines changed

1 file changed

+5
-46
lines changed

config/corneish_zen.keymap

+5-46
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,10 @@
4141
#define LY_NUM 1
4242
#define LY_NAV 2
4343
#define LY_FN1 3
44-
#define LY_FN2 4
45-
#define LY_MIS1 5
46-
#define LY_MIS2 6
47-
#define LY_GAM 7
48-
#define LY_GNUM 8
44+
#define LY_MIS1 4
45+
#define LY_MIS2 5
46+
#define LY_GAM 6
47+
#define LY_GNUM 7
4948

5049
// Configuration for sticky-key behavior
5150
&sk {
@@ -148,27 +147,6 @@
148147
quick-tap-ms = <QUICK_TAP_MS>;
149148
global-quick-tap-ms = <GLOBAL_QUICK_TAP_MS>; // requires PR #1387, currently obtained by using urob's fork of zmk
150149
};
151-
152-
lt_hp: lt_hp {
153-
label = "ZB_lt_hp";
154-
compatible = "zmk,behavior-hold-tap";
155-
#binding-cells = <2>;
156-
flavor = "hold-preferred";
157-
bindings = <&mo>, <&kp>;
158-
tapping-term-ms = <1>; // Experiment: see if this makes it so interrupting the tap-dance with another key immediately causes the hold-tap's hold behavior to trigger
159-
quick-tap-ms = <QUICK_TAP_MS>;
160-
// global-quick-tap-ms = <GLOBAL_QUICK_TAP_MS>; // requires PR #1387, currently obtained by using urob's fork of zmk
161-
};
162-
163-
td_tab_fn_lys: td_tab_fn_lys {
164-
compatible = "zmk,behavior-tap-dance";
165-
label = "TD_TAB_FN_LYS";
166-
#binding-cells = <0>;
167-
tapping-term-ms = <TAP_TERM_MS>;
168-
// Inside a tap-dance, only a hold-preferred hold-tap seems to work; I think tap-dance resolves immediately on detecting another key *press*, so not even a balanced hold-tap works (I tried).
169-
// So use &lt_hp
170-
bindings = <&lt_hp LY_FN1 TAB>, <&mo LY_FN2>;
171-
};
172150
};
173151
};
174152

@@ -188,7 +166,7 @@
188166

189167
// Thumb keys for base layer
190168
#define THUMB1 &lt LY_MIS2 ESC
191-
#define THUMB2 &td_tab_fn_lys
169+
#define THUMB2 &lt LY_FN1 TAB
192170
#define THUMB3 &lt LY_NAV SPACE
193171
#define THUMB4 &lt LY_NUM BSPC
194172
#define THUMB5 &lt LY_MIS1 DEL
@@ -283,25 +261,6 @@
283261
>;
284262
};
285263

286-
function_layer_2 {
287-
label = "FUNC2";
288-
bindings = <
289-
// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
290-
// ├ ┼ F13 ┼ F14 ┼ F15 ┼ F16 ┼ ┤ ├ ┼ ┼ ┼ ┼ ┼ ┤
291-
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
292-
// ├ ┼ F17 ┼ F18 ┼ F19 ┼ F20 ┼ ┤ ├ ┼ LCTRL ┼ LGUI ┼ LALT ┼ LSHFT ┼ ┤
293-
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
294-
// ├ ┼ F21 ┼ F22 ┼ F23 ┼ F24 ┼ ┤ ├ ┼ ┼ ┼ RALT ┼ ┼ ┤
295-
// ╰───────────────────────────┴─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┴───────────────────────────╯
296-
// ├ ┼ // HELD // ┼ ┤ ├ BKSP ┼ DEL ┼ ┤
297-
// ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯
298-
&none &kp F13 &kp F14 &kp F15 &kp F16 &none &none &none &none &none &none &none
299-
&none &kp F17 &kp F18 &kp F19 &kp F20 &none &none &kp LCTRL &kp LGUI &kp LALT &kp LSHFT &none
300-
&none &kp F21 &kp F22 &kp F23 &kp F24 &none &none &none &none &kp RALT &none &none
301-
&none &trans &none &kp BSPC &kp DEL &none
302-
>;
303-
};
304-
305264
misc1_layer {
306265
label = "MISC 1";
307266
bindings = <

0 commit comments

Comments
 (0)