Skip to content

Commit

Permalink
move window cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
pm0u committed Jan 1, 2025
1 parent 7771676 commit cada59a
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 18 deletions.
2 changes: 1 addition & 1 deletion config/base.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
// ╭───────────────────┬───────────────────┬───────────────────┬───────────────────┬───────────────────╮ ╭───────────────────┬───────────────────┬───────────────────┬───────────────────┬───────────────────╮
___ &kp LA(LS(N7)) &kp LA(LS(N8)) &kp LA(LS(N9)) ___ ___ ___ ___ ___ ___
// ├───────────────────┼───────────────────┼───────────────────┼───────────────────┼───────────────────┤ ├───────────────────┼───────────────────┼───────────────────┼───────────────────┼───────────────────┤
___ &kp LA(LS(N4)) &kp LA(LS(N5)) &kp LA(LS(N6)) ___ ___ ___ ___ ___ ___
___ &kp LA(LS(N4)) &kp LA(LS(N5)) &kp LA(LS(N6)) ___ MOVE ___
// ├───────────────────┼───────────────────┼───────────────────┼───────────────────┼───────────────────┤ ├───────────────────┼───────────────────┼───────────────────┼───────────────────┼───────────────────┤
___ &kp LA(LS(N1)) &kp LA(LS(N2)) &kp LA(LS(N3)) ___ ___ ___ ___ ___ ___
// ╰───────────────────┴───────────────────┴───────────────────┼───────────────────┼───────────────────┼───────────────────╮ ╭───────────────────┼───────────────────┼───────────────────┼───────────────────┴───────────────────┴───────────────────╯
Expand Down
5 changes: 4 additions & 1 deletion config/shared/setup.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,11 @@ MAKE_HRM(hmr, &kp, &kp, KEYS_L THUMBS) // right-hand HRMs
// reusable arrow keys ← ↓ ↑ →
#define ARROWS &kp LEFT &kp DOWN &kp UP &kp RIGHT

// space move cluster
// space move focus cluster
#define FOCUS &kp LA(H) &kp LA(J) &kp LA(K) &kp LA(L)

// space move window cluster
#define MOVE &kp LS(LA(H)) &kp LS(LA(J)) &kp LS(LA(K)) &kp LS(LA(L))

// tab change
#define TABS &kp LC(LBKT) &kp LC(RBKT)
28 changes: 16 additions & 12 deletions draw/corne.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions draw/corne.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ layers:
- {t: ⎇+⇧+5, s: ⎇+⇧+%}
- {t: ⎇+⇧+6, s: ⎇+⇧+^}
- {type: trans}
- {type: trans}
- {type: trans}
- {type: trans}
- {type: trans}
- ⇧+⎇+H
- ⇧+⎇+J
- ⇧+⎇+K
- ⇧+⎇+L
- {type: trans}
- {type: trans}
- {t: ⎇+⇧+1, s: ⎇+⇧+!}
Expand Down

0 comments on commit cada59a

Please sign in to comment.