#include QMK_KEYBOARD_H
-
extern keymap_config_t keymap_config;
// Each layer gets a name for readability, which is then used in the keymap matrix below.
LOWER,
RAISE,
ADJUST,
- SH_SUDO,
+ SH_LOG,
SH_GOUP,
SH_TERM,
SPOT,
* ,-----------------------------------------. ,-----------------------------------------.
* | Tab | ! | @ | # | $ | % | | ^ | & | * | ( | ) | Del |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
- * |CtlEsc| Sudo | UpDir| Slack| Term | OutLk| | = | - | \ | [ | ] | ` |
+ * |CtlEsc| Log | UpDir| Slack| Term | OutLk| | = | - | \ | [ | ] | ` |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | Shift|ClrHom|ClrEnd|ShHome| ShEnd|Search| | Play | Mute | VolDn| VolUp|ScnSht|SftEnt|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
*/
[_RAISE] = LAYOUT_ortho_4x12( \
_______, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, \
- _______, SH_SUDO, SH_GOUP, SLACK, SH_TERM, OUTLOOK, KC_EQL, KC_MINS, KC_BSLS, KC_LBRC, KC_RBRC, KC_GRV, \
+ _______, SH_LOG, SH_GOUP, SLACK, SH_TERM, OUTLOOK, KC_EQL, KC_MINS, KC_BSLS, KC_LBRC, KC_RBRC, KC_GRV, \
_______, SH_CLRH, SH_CLRE, SH_HOME, SH_END, SH_RSCH, KC_MPLY, KC_MUTE, KC_VOLD, KC_VOLU, SCN_SHT, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
),
case ADJUST:
layer_on(_ADJUST);
return false;
- case SH_SUDO:
- SEND_STRING("sudo !!"SS_TAP(X_ENTER)); // Elevate last command
+ case SH_LOG: // Open Jira log work window
+ SEND_STRING(SS_TAP(X_DOT));
+ _delay_ms(100);
+ SEND_STRING("log work");
+ _delay_ms(100);
+ SEND_STRING(SS_TAP(X_ENTER));
+ return false;
+ case SH_GOUP: // Go up a directory
+ SEND_STRING("cd .."SS_TAP(X_ENTER));
return false;
- case SH_GOUP:
- SEND_STRING("cd .."SS_TAP(X_ENTER)); // Go up a directory
+ case SH_TERM: // Open Terminal
+ SEND_STRING(SS_LGUI(SS_TAP(X_SPACE)));
+ _delay_ms(100);
+ SEND_STRING("terminal");
+ _delay_ms(100);
+ SEND_STRING(SS_TAP(X_ENTER));
return false;
- case SH_TERM:
- SEND_STRING(SS_LGUI(SS_TAP(X_SPACE))"terminal"SS_TAP(X_ENTER)); // Open Terminal
+ case SPOT: // Open Spotify
+ SEND_STRING(SS_LGUI(SS_TAP(X_SPACE)));
+ _delay_ms(100);
+ SEND_STRING("spotify app");
+ _delay_ms(100);
+ SEND_STRING(SS_TAP(X_ENTER));
return false;
- case SPOT:
- SEND_STRING(SS_LGUI(SS_TAP(X_SPACE))"spotify app"SS_TAP(X_ENTER)); // Open Spotify
+ case SLACK: // Open Slack
+ SEND_STRING(SS_LGUI(SS_TAP(X_SPACE)));
+ _delay_ms(100);
+ SEND_STRING("slack");
+ _delay_ms(100);
+ SEND_STRING(SS_TAP(X_ENTER));
return false;
- case SLACK:
- SEND_STRING(SS_LGUI(SS_TAP(X_SPACE))"slack"SS_TAP(X_ENTER)); // Open Slack
+ case OUTLOOK: // Open MS Outlook
+ SEND_STRING(SS_LGUI(SS_TAP(X_SPACE)));
+ _delay_ms(100);
+ SEND_STRING("outlook");
+ _delay_ms(100);
+ SEND_STRING(SS_TAP(X_ENTER));
return false;
- case OUTLOOK:
- SEND_STRING(SS_LGUI(SS_TAP(X_SPACE))"outlook"SS_TAP(X_ENTER)); // Open Outlook
+ case CHROME: // Open Chrome
+ SEND_STRING(SS_LGUI(SS_TAP(X_SPACE)));
+ _delay_ms(100);
+ SEND_STRING("chrome");
+ _delay_ms(100);
+ SEND_STRING(SS_TAP(X_ENTER));
return false;
- case CHROME:
- SEND_STRING(SS_LGUI(SS_TAP(X_SPACE))"chrome"SS_TAP(X_ENTER)); // Open Chrome
}
} else {
switch(keycode) {
# normacos
-This keymap was designed especifically to be used on a MacOS High Sierra system with constant use of the Terminal, as it includes a multitude of macros for both the terminal as well as Spotlight Search.
+This keymap was designed specifically to be used on a MacOS High Sierra system with constant use of the Terminal, as it includes a multitude of macros for both the terminal as well as Spotlight Search.
Norman keyboard layout [info page.](https://normanlayout.info/)
-Some Norman layout keys were placed on different layers and different positions based on available space.
+Some Norman layout keys were placed on different layers and different positions based on available space and preference.
Macros:
- Slack opens Slack through Spotlight Search
- Term opens Terminal through Spotlight Search
- Spot opens Spotify through Spotlight Search
-- Chrome opesn Chrome through Spotlight Search
+- Chrome opens Chrome through Spotlight Search
- OutLk opens Microsoft Outlook through Spotlight Search
- ScnSht allows the user to take a screenshot of a selected portion of the screen
- ClrHom clears Terminal line from beginning of line up to cursor
- ShHome moves Terminal cursor to beginning of line
- ShEnd moves Terminal cursor to end of line
- Search activates Terminal Reverse Search Command History
-- Sudo elevates last Terminal command
+- Log opens the 'Log Work' modal on Atlassian's Jira web client
- UpDir moves working directory to its parent
+All macros that make use of the SEND_STRING command have a 100 millisecond wait before and after "writing" to let the computer/OS/app catch up.
Any and all empty keys shown below are will be set in the future, and do nothing as of the time of this writing.
,-----------------------------------------. ,-----------------------------------------.
| Tab | ! | @ | # | $ | % | | ^ | & | * | ( | ) | Del |
|------+------+------+------+------+------| |------+------+------+------+------+------|
-|CtlEsc| Sudo | UpDir| Slack| Term | OutLk| | = | - | \ | [ | ] | ` |
+|CtlEsc| Log | UpDir| Slack| Term | OutLk| | = | - | \ | [ | ] | ` |
|------+------+------+------+------+------| |------+------+------+------+------+------|
| Shift|ClrHom|ClrEnd|ShHome| ShEnd|Search| | Play | Mute | VolDn| VolUp|ScnSht|SftEnt|
|------+------+------+------+------+------| |------+------+------+------+------+------|