1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/kc60/keymaps/noroadsleft/readme_ch5.md
noroadsleft 18a9f7999e [Keymap] Updates to noroadsleft keymap for KC60 (2019-04-07) (#5576)
* Update macros and keycode handling

- Update NUBS_Z macro so it repeats when held down
- Number row now uses numpad keycodes if Right Alt is being held
- coding conventions and formatting update
  - switched to four-space indent
  - reformatted a block comment

* Update readme files
2019-04-07 07:32:06 -07:00

4.1 KiB

@noroadsleft's KC60 keymap


Layer 10: Numpad layer - _NP

Accessed by holding either Fn key and tapping Space, from any of the Base Layers

Puts a Numpad on the right-hand side of the keyboard. A through F included for hexadecimal input. Tapping Space returns to the previous Base Layer.

Numpad layer


Layer 11: Macro layer - _MA

Accessed by holding the Fn key and tapping the right-side Win key

Has some macros that I use in Git, and some frequently-typed strings.

Tapping Esc exits the Macro layer, if the macro used doesn't do it automatically.

Macro layer

Macros

T_L3DED

Output: lavak3DED

Twitch emote for a streamer I watch a lot.
lavak3DED

G_PUSH

Output: git push origin

Everything from here down is related to Git or GitHub.

G_FTCH

Condition Output
If Shift is active git pull upstream
Otherwise git fetch upstream

G_COMM

Output: git commit -m "" Left

Readies a git commit command, moves the cursor between the quotation marks, then disables the Macro layer.

G_BRCH

Condition Output
If Shift is active master
Otherwise $(git branch-name)

$(git branch-name) is a git alias that returns the name of the current branch. This macro disables the Macro layer when finished.

SIGNA

Output: \- @noroadsleft Enter

Sometimes on GitHub, I sign my comments. Types my GitHub name in Markdown syntax, and then taps the Enter key. Disables the Macro layer when finished.

MC_UNDO

Condition Output
If Shift is active Shift + Command + Z
Otherwise Command + Z

An Undo shortcut that turns to Redo if Shift is being held. I'm not sure that part is required to get that behavior, but it works as desired, so I'm not messing with it.

MC_PSTE

Condition Output
If Shift is active Shift + Command + Option + V
Otherwise Command + V

The program I use this in uses Shift + Command + Option + V to paste while maintaining formatting (typeface, text size, etc.). Sometimes I want this and sometimes I don't. Using Shift changes the behavior.

NUBS_Z

Condition Output
If Right Alt is active KC_NUBS
Otherwise KC_Z

Sometimes I type in languages from countries that use ISO layout, but my keyboard is ANSI, so I have one key fewer. This macro simulates the Non-US Backslash key if I use Right Alt + Z.

VRSN

Outputs a string that tells me the Git commit from which my flashed firmware was built. Looks something like:

kc60/noroadsleft @ 0.6.326-6-gae6d7b-dirty

Emulated Numeric Keypad

If I hold the Right Alt key, the number row (KC_1 through KC_0) will output numpad keycodes instead of number row keycodes, enabling quicker access to characters like ™ and °.


Layer 12: System layer - _SY

Accessed by holding either Fn key and tapping the /? key

This is where I change my keyboard function. Base layer select on 1 through 3, Backlight controls on C through N, Reset on 8*, Debug on 0).

System layer


Back to the index.