Skip to content

Instantly share code, notes, and snippets.

@tuxedocat
Last active June 28, 2020 04:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tuxedocat/e5eacc7f9ae830fd5785c1cb0e8171d5 to your computer and use it in GitHub Desktop.
Save tuxedocat/e5eacc7f9ae830fd5785c1cb0e8171d5 to your computer and use it in GitHub Desktop.
Pok3r macOS (Karabiner fn)
[
{
"name": "Pok3r macOS (Karabiner fn)",
"author": "tuxedocat",
"switchMount": "cherry",
"switchBrand": "cherry",
"switchType": "MX3A-L1xx"
},
[
{
"y": 1.5,
"c": "#bfbfbf",
"t": "#242b2b",
"p": "DCS",
"a": 7
},
"` ~\n\n\n\nESC",
{
"c": "#242b2b",
"t": "#bfbfbf",
"a": 4
},
"!\n1\n\n\nF1",
"@\n2\n\n\nF2",
"#\n3\n\n\nF3",
"$\n4\n\n\nF4",
"%\n5\n\n\nF5",
"^\n6\n\n\nF6",
"&\n7\n\n\nF7",
"*\n8\n\n\nF8",
"(\n9\n\n\nF9",
")\n0\n\n\nF10",
"_\n-\n\n\nF11",
"+\n=\n\n\nF12",
{
"w": 2
},
"\nBackspace\n\n\nDel"
],
[
{
"w": 1.5
},
"\nTab",
"Q",
"W",
"E",
"R\n\n\n\nReset",
"T\n\n\n\n15ms",
"Y\n\n\n\nCal",
"U\n\n\n\nPgUp",
"I\n\n\n\n<i class='kb kb-Arrows-Up'></i>",
"O\n\n\n\nPgDn",
"P\n\n\n\nPrtSc",
{
"c": "#43165e",
"fa": [
0,
0,
1
]
},
"{\n[\nESC\n\nScrlk",
{
"c": "#242b2b"
},
"}\n]\n\n\nPause",
{
"w": 1.5
},
"|\n\\"
],
[
{
"c": "#bfbfbf",
"t": "#242b2b",
"w": 1.25,
"w2": 1.75
},
"\nCtrl",
{
"x": 0.5,
"c": "#242b2b",
"t": "#bfbfbf"
},
"A",
"S",
"D",
"F",
"G\n\n\n\n0.1s",
"H\n\n\n\nHome",
"J\n\n\n\n<i class='kb kb-Arrows-Left'></i>",
"K\n\n\n\n<i class='kb kb-Arrows-Up'></i>",
"L\n\n\n\n<i class='kb kb-Arrows-Right'></i>",
":\n;\n\n\nIns",
"\"\n'\n\n\nDel",
{
"w": 2.25
},
"\nEnter"
],
[
{
"w": 2.25
},
"\nShift",
"Z",
"X",
"C",
"V",
"B\n\n\n\n0.5s",
"N\n\n\n\nEnd",
"M\n\n\n\nDefault",
{
"c": "#202e7a"
},
"<\n,\n\n\nLayer 2",
{
"c": "#872424"
},
">\n.\n\n\nLayer 3",
{
"c": "#67219e"
},
"?\n/\n\n\nLayer 4",
{
"c": "#242b2b",
"w": 2.75
},
"\nShift"
],
[
{
"c": "#43165e",
"fa": [
0,
0,
1,
1
],
"w": 1.25
},
"\nfn\n\n(caps)",
{
"c": "#bfbfbf",
"t": "#242b2b",
"w": 1.25
},
"\nOpt",
{
"w": 1.25
},
"\nCmd",
{
"c": "#242b2b",
"t": "#bfbfbf",
"p": "DCS SPACE",
"a": 7,
"w": 6.25
},
"",
{
"c": "#bfbfbf",
"t": "#242b2b",
"p": "DCS",
"a": 4,
"w": 1.25
},
"\nCmd",
{
"c": "#242b2b",
"t": "#bfbfbf",
"w": 1.25
},
"\nFN",
{
"w": 1.25
},
"\nPN",
{
"c": "#43165e",
"w": 1.25
},
"\nfn\n\n(R_opt)"
]
]
  • This represents Layer4's keymap
  • Remap by Pok3er's re-programming function (UPPER: hardware-default, lower: remapped)
    • CAPSLOCK -> l_ctrl
    • L_CTRL -> caps
    • R_CTRL -> r_opt
    • R_ALT -> r_cmd
    • L_ALT -> l_cmd
    • L_WIN -> l_opt
    • ESC -> <grave-accent>
    • FN + ESC (<grave>) -> ESC
  • Modify some keys by Karabiner Elements (*<key>: software-remapped-keys)
    • Assign macOS's fn key to caps and *R_opt
    • <C-[> (l_ctrl + [) for emulating ESC
    • *fn + <NUM> for emulating F-keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment