diff options
Diffstat (limited to 'users/twschum')
-rw-r--r-- | users/twschum/xtonhasvim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/twschum/xtonhasvim.c b/users/twschum/xtonhasvim.c index b3f410bc26..60f6fa1377 100644 --- a/users/twschum/xtonhasvim.c +++ b/users/twschum/xtonhasvim.c @@ -89,7 +89,7 @@ static void comma_period(uint16_t keycode) { bool process_record_vimlayer(uint16_t keycode, keyrecord_t *record) { /****** mod passthru *****/ - if(record->event.pressed && layer_state_is(vim_cmd_layer()) && (IS_MOD(keycode) || keycode == LSFT(KC_LALT))) { + if(record->event.pressed && layer_state_is(vim_cmd_layer()) && (IS_MODIFIER_KEYCODE(keycode) || keycode == LSFT(KC_LALT))) { mod_override_layer_state = layer_state; mod_override_triggering_key = keycode; // TODO: change this to track key location instead |