Skip to content

Commit

Permalink
Add Alt Backspace
Browse files Browse the repository at this point in the history
  • Loading branch information
filterpaper committed May 4, 2024
1 parent 524019f commit fb0d128
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions features/combos.inc
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ ACTN(swap_r, swap_hands_toggle(), TH_M, TH_COMM, TH_DOT)
#endif
ACTN(tog_ac, autocorrect_toggle(), KC_U, KC_I, KC_O)

COMB(vol_up, KC_VOLU, KC_P, HM_QUOT)
COMB(vol_dn, KC_VOLD, HM_QUOT, TH_SLSH)

// Macros
SSTR(vi_quit, ":q!", KC_Q, KC_W)
SSTR(vi_save, ":x", KC_Z, KC_X)
SSTR(dir_up, "../", TH_DOT, TH_SLSH)

COMB(vol_up, KC_VOLU, KC_P, HM_QUOT)
COMB(vol_dn, KC_VOLD, HM_QUOT, TH_SLSH)

// Navigation
COMB(arr_up, KC_UP, KC_U, KC_I)
COMB(arr_dn, KC_DOWN, HM_J, HM_K)
Expand Down
5 changes: 3 additions & 2 deletions layout.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ enum layers { BSE, CMK, NUM, SYM, FNC };
#define LCA_ENT LCA_T(KC_ENT)
#define SFT_SPC RSFT_T(KC_SPC)
#define NUM_BSP LT(NUM,KC_BSPC)
#define ALT_BSP A(KC_BSPC)

// Default 3x5_2 split layout
#define _BASE \
Expand Down Expand Up @@ -95,15 +96,15 @@ enum layers { BSE, CMK, NUM, SYM, FNC };
_______, KC_LBRC, KC_LCBR, KC_RCBR, _______, KC_CIRC, KC_LPRN, KC_RPRN, KC_RBRC, KC_TILD, \
KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_ASTR, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, \
_______, _______, KC_LT, KC_GT, _______, KC_AMPR, KC_UNDS, KC_PLUS, KC_PIPE, _______, \
_______, _______, _______, _______
_______, _______, _______, ALT_BSP
/*╭────────┬────────┬────────┬────────┬────────╮ ╭────────┬────────┬────────┬────────┬────────╮
│ │ [ │ { │ } │ │ │ ^ │ ( │ ) │ ] │ ~ │
├────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┤
│ ! │ @ │ # │ $ │ % │ │ * │ - │ = │ \ │ ` │
├────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┤
│ │ │ < │ > │ │ │ & │ _ │ + │ │ │ │
╰────────┴────────┴────────┼────────┼────────┤ ├────────┼────────┼────────┴────────┴────────╯
│ │ │ │ │
│ │ │ │ │ALT BSPC
╰────────┴────────╯ ╰────────┴────────╯*/

#define _FUNC \
Expand Down

0 comments on commit fb0d128

Please sign in to comment.