Created
August 14, 2018 01:59
-
-
Save nchristus/f5e342d4584ddc832002922b06d9dc45 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef USERSPACE | |
#define USERSPACE | |
#include "quantum.h" | |
// Define layer names | |
enum userspace_layers { | |
_QWERTY = 0, | |
_LOWER, | |
_RAISE, | |
_ARROW, | |
_FUNCTION, | |
_ADJUST, | |
}; | |
#define KC_RST KC_RESET | |
// Define modifiers | |
#define CTL_ESC CTL_T(KC_ESC) | |
// Force quit dialog | |
#define C_O_ESC LALT(LGUI(KC_ESC)) | |
// Mac sleep | |
#define MAC_LOK LALT(LGUI(KC_PWR)) | |
// 1Password | |
#define OPW_OPN LALT(LGUI(KC_BSLS)) | |
#define OPW_CPY S(LGUI(KC_C)) | |
// Screenshotting | |
#define SCR_FLL S(LGUI(KC_3)) | |
#define SCR_CRP S(LGUI(KC_4)) | |
#define KEYMAP_wrapper(...) LAYOUT(__VA_ARGS__) | |
#define ___________________BLANK___________________ _______, _______, _______, _______, _______ | |
#define ________________NUMBER_LEFT________________ KC_1, KC_2, KC_3, KC_4, KC_5 | |
#define ________________NUMBER_RIGHT_______________ KC_6, KC_7, KC_8, KC_9, KC_0 | |
#define _________________LOWER_L1__________________ ________________NUMBER_LEFT________________ | |
#define _________________LOWER_L2__________________ KC_MINS, KC_PLUS, KC_LBRC, KC_RBRC, KC_BSLS | |
#define _________________LOWER_R1__________________ ________________NUMBER_RIGHT_______________ | |
#define _________________LOWER_R2__________________ KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______ | |
#define _________________RAISE_L1__________________ KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC | |
#define _________________RAISE_L2__________________ KC_MINS, KC_PLUS, KC_LBRC, KC_RBRC, KC_BSLS | |
#define _________________RAISE_R1__________________ KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN | |
#define _________________RAISE_R2__________________ KC_UNDS, KC_EQL, KC_LCBR, KC_RCBR, KC_PIPE | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment