Skip to content

Commit

Permalink
update backspace
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnveenman committed Jul 12, 2024
1 parent e844b79 commit 3cc1d24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/base.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ ZMK_HOLD_TAP(mt_end, bindings = <&masked_end>, <&kp>; MT_CORE)
#define NAV_RIGHT &mt_end 0 RIGHT // tap: right | long-tap: end of line
#define NAV_UP &mt LC(HOME) UP // tap: up | long-tap: beginning of document
#define NAV_DOWN &mt LC(END) DOWN // tap: down | long-tap: end of document
#define NAV_BSPC &mt LC(BSPC) BSPC // tap: bspc | long-tap: delete word backward
#define NAV_DEL &mt LC(DEL) DEL // tap: del | long-tap: delete word forward
#define NAV_BSPC &mt LALT(BSPC) BSPC // tap: bspc | long-tap: delete word backward
#define NAV_DEL &mt LALT(DEL) DEL // tap: del | long-tap: delete word forward

// mask CTRL when holding left/right to avoid accidental jumps to beginning/end of document
#define MASK_MODS(NAME, MODS, BINDING) \
Expand Down
2 changes: 2 additions & 0 deletions keymap_drawer.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,8 @@ parse_config:
tap: $$mdi:backspace-outline$$
DELETE: $$mdi:backspace-reverse-outline$$
DEL: $$mdi:backspace-reverse-outline$$
LALT(DEL): $$mdi:backspace-reverse$$
LALT(BSPC): $$mdi:backspace$$

# Locks
CAPSLOCK: $$mdi:apple-keyboard-caps$$
Expand Down

0 comments on commit 3cc1d24

Please sign in to comment.