Skip to content

Commit

Permalink
Add a function layer.
Browse files Browse the repository at this point in the history
Going to try to use these for debugging with nvim-dap.
  • Loading branch information
matthewtodd committed Nov 29, 2024
1 parent f20f990 commit 8dff2a1
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions config/cradio.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
#define MEDIA 3
#define NUM 4
#define SYM 5
#define STURDY_NUM 6
#define STURDY_SYM 7
#define FUN 6
#define STURDY_NUM 7
#define STURDY_SYM 8

// Home row mods macro
#define HRML(k1,k2,k3,k4) &htl LCTRL k1 &htl LALT k2 &htl LGUI k3 &htl LSHFT k4
Expand Down Expand Up @@ -57,7 +58,7 @@
thumbs_default_right {
layers = <COLEMAK STURDY>;
key-positions = <32 33>;
bindings = <&kp DEL>;
bindings = <&lt FUN DEL>;
timeout-ms = <50>;
};
};
Expand Down Expand Up @@ -184,6 +185,24 @@
>;
};

function_layer {
bindings = <
//╭──────────┬──────────┬──────────┬──────────┬──────────╮ ╭──────────┬──────────┬──────────┬──────────┬──────────╮
//│ │ │ │ │ │ │ │ │ │ │ │
&kp F12 &kp F7 &kp F8 &kp F9 &none &none &none &none &none &none
//├──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┤
//│ │ │ │ │ │ │ │ │ │ │ │
&kp F11 &kp F4 &kp F5 &kp F6 &none &none &kp RSHFT &kp RGUI &kp RALT &kp RCTRL
//├──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┤
//│ │ │ │ │ │ │ │ │ │ │ │
&kp F10 &kp F1 &kp F2 &kp F3 &none &none &none &none &none &none
//╰──────────┴──────────┴──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┴──────────┴──────────╯
// | | | | | |
&kp RPAR &kp UNDER &none &none
// ╰──────────┴──────────╯ ╰──────────┴──────────╯
>;
};

sturdy_number_layer {
bindings = <
//╭──────────┬──────────┬──────────┬──────────┬──────────╮ ╭──────────┬──────────┬──────────┬──────────┬──────────╮
Expand Down

0 comments on commit 8dff2a1

Please sign in to comment.