Skip to content

Commit

Permalink
fix paste
Browse files Browse the repository at this point in the history
  • Loading branch information
c2keesey committed Aug 18, 2024
1 parent aff9151 commit 19469ce
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions config/base.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -225,35 +225,32 @@ ZMK_BEHAVIOR(bs_del, mod_morph,
keep-mods = <MOD_RSFT>;
)

// tap: copy | double-tap: cut
ZMK_BEHAVIOR(copy_cut, tap_dance,
tapping-term-ms = <200>;
bindings = <&kp LC(INS)>, <&kp LC(X)>;
)

// copy all macro
// copy all
ZMK_BEHAVIOR(copy_all, macro,
wait-ms = <5>;
tap-ms = <3>;
bindings = <&kp LG(A)>, <&kp LG(C)>;
)

ZMK_BEHAVIOR(copy_all_td, tap_dance,
tapping-term-ms = <200>;
tapping-term-ms = <300>;
bindings = <&kp LG(C)>, <&copy_all>;
)

// paste all
ZMK_BEHAVIOR(paste_all, macro,
wait-ms = <5>;
tap-ms = <3>;
bindings = <&kp LG(A)>, <&kp LG(P)>;
bindings = <&kp LG(A)>, <&kp LG(V)>;
)

ZMK_BEHAVIOR(paste_all_td, tap_dance,
tapping-term-ms = <300>;
bindings = <&kp LG(P)>, <&paste_all>;
bindings = <&kp LG(V)>, <&paste_all>;
)


ZMK_BEHAVIOR(nav_5_down, macro,
wait-ms = <5>;
tap-ms = <3>;
Expand Down

0 comments on commit 19469ce

Please sign in to comment.