Skip to content

Commit

Permalink
add arabic
Browse files Browse the repository at this point in the history
  • Loading branch information
AlaaSaadAbdo authored Apr 24, 2024
1 parent 9e40208 commit d8db85a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
21 changes: 10 additions & 11 deletions config/base30.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -109,18 +109,14 @@
label = "APT";
bindings = <

// [z]
// w f y p b j x , . '
// r s t h k m n e i a
// c g d l o u
// [v][q]
// qwerty for arabic

// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
&kp W &kp F &kp Y &kp P &kp B &kp J &kp X &kp SQT &kp COMMA &kp DOT
&kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT
// ├──── ─────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp R &kp S &kp T &kp H &kp K &kp M &kp N &kp E &kp I &kp A
&kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp C &kp G &kp D &kp L &kp O &kp U
&kp C &kp N &kp M &kp COMMA &kp DOT &kp SQT
// ╰─────────────┴─────────────┼─────────────┤ ├─────────────┼─────────────┴─────────────╯
&macro_nav &kp SPACE &skq LSHIFT &macro_sym
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯
Expand Down Expand Up @@ -201,12 +197,15 @@
aptw {
label = "APTW";
bindings = <

// qwerty for arabic

// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
&kp W &kp F &kp Y &kp P &kp B &kp J &kp X &kp SQT &kp COMMA &kp DOT
&kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT
// ├──── ─────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp R &kp S &kp T &kp H &kp K &kp M &kp N &kp E &kp I &kp A
&kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp C &kp G &kp D &kp L &kp O &kp U
&kp C &kp N &kp M &kp COMMA &kp DOT &kp SQT
// ╰─────────────┴─────────────┼─────────────┤ ├─────────────┼─────────────┴─────────────╯
&macro_navW &kp SPACE &skq LSHIFT &macro_symW
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯
Expand Down
4 changes: 2 additions & 2 deletions config/combos30.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ compatible = "zmk,combos";
COMBO(Q, &kp Q, 21 22, ALPHA_ALL) // Q
COMBO(Z, &kp Z, 1 2, ALPHA_ALL) // Z
COMBO(V, &kp V, 20 21, ALPHA_ALL) // V
// COMBO(V, &kp V, 20 21, HDN HDNW) // V
// COMBO(X, &kp X, 20 21, APT APTW) // X
COMBO(X, &kp X, 2 3, APT APTW) // X
COMBO(DAL, &kp RBKT, 7 8, APT APTW) // ]

/* Brackets */
COMBO(left_bracket, &kp LBKT, 1 11, ALPHA_ALL)
Expand Down

0 comments on commit d8db85a

Please sign in to comment.