ํ‹ฐ์Šคํ† ๋ฆฌ ๋ทฐ

๐Ÿ›ฃ๏ธ Mac ์ปค์Šคํ…€ ํ‚ค๋งตํ•‘์„ ํ•˜์ž

Mac์—์„œ ์ปค์Šคํ…€ ํ•˜๊ฒŒ ๋‹จ์ถ•ํ‚ค๋ฅผ ์„ค์ •ํ•  ๋•Œ ๊ฐ€์žฅ ๋งŽ์ด ์‚ฌ์šฉํ•˜๋Š” ํ”„๋กœ๊ทธ๋žจ์ด๋‹ค.

์‹œ์ž‘ํ•ด๋ณด์ž.

๐Ÿ“ฆ ์„ค์น˜ & ๊ถŒํ•œ ๋ถ€์—ฌ

์‚ฌ์ดํŠธ: https://karabiner-elements.pqrs.org/

 

Karabiner-Elements

Karabiner-Elements A powerful and stable keyboard customizer for macOS. Download v15.9.0 Toggle Dropdown Download v15.9.0 For macOS 26 Tahoe For macOS 15 Sequoia For macOS 14 Sonoma For macOS 13 Ventura Download v14.13.0 For macOS 12 Monterey For macOS 11

karabiner-elements.pqrs.org

Karabiner ์‚ฌ์ดํŠธ, Download ๋ฅผ ์ง„ํ–‰ํ•œ๋‹ค

 

์‹œ์Šคํ…œ์„ค์ • > ๋กœ๊ทธ์ธ ํ•ญ๋ชฉ ๋ฐ ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ, ๊ถŒํ•œ ํ—ˆ์šฉ ํ•„์š”

์„ค์น˜ํ•˜๋ฉด ์–ด์ฐจํ”ผ ์ž๋™์œผ๋กœ ๊ถŒํ•œ ํ—ˆ์šฉ ์•ˆ๋‚ด๊ฐ€ ์นœ์ ˆํ•˜๊ฒŒ ๋‚˜์˜จ๋‹ค. ๋‹ค ํ—ˆ์šฉํ•ด์ฃผ๋ฉด ๋œ๋‹ค.

 


โŒจ๏ธ ํ‚ค ๋งตํ•‘

json ํŒŒ์ผ์„ ํ†ตํ•ด ๋‹จ์ถ•ํ‚ค ์„ค์ •์„ ๋‹ค ํ•  ์ˆ˜ ์žˆ๋Š”๋ฐ,

AI ๋ฅผ ํ†ตํ•ด ํ•ด๋‹น ์„ค์ • ์ž‘์„ฑํ•ด๋‹ฌ๋ผ๊ณ  ์š”์ฒญ์„ ํ•˜๋ฉด ๋œ๋‹ค. (AI ๋งŒ์„ธ ๐Ÿ™Œ)

ํŒŒ์ผ ์œ„์น˜ ๊ฒฝ๋กœ๋Š” ์•„๋ž˜์™€ ๊ฐ™๋‹ค

# ~: ์‚ฌ์šฉ์ž ํ™ˆ ๋””๋ ‰ํ† ๋ฆฌ
~/.config/karabiner/assets/complex_modifications

~/.config/karabiner/assets/complex_modifications/my_shortcut, ํ•ด๋‹น ๊ฒฝ๋กœ์— ์„ค์ • json ํŒŒ์ผ ์œ„์น˜์‹œํ‚จ๋‹ค
Add predefined rule ํด๋ฆญ
json์— ๋“ฑ๋ก๋œ rule ๋ชฉ๋ก์ด ๋ณด์ธ๋‹ค. ํ•ด๋‹น ์ฐฝ์—์„œ Enable ํ•ด์ฃผ๋ฉด ๋ฐ”๋กœ ์ ์šฉ


 

 

๐Ÿ“„ my_shortcut.json

๋งˆ์ง€๋ง‰์œผ๋กœ ์•„๋ž˜ ํ‚ค๋งตํ•‘ ํ…Œ์ด๋ธ”์— ๋Œ€ํ•œ json ํŒŒ์ผ์ด๋‹ค.

๋ถ„๋ฅ˜ ์ž…๋ ฅ ํ‚ค ๋ณ€ํ™˜ ๋™์ž‘ ์ ์šฉ ๋ฒ”์œ„ ๋น„๊ณ 
์Šคํฌ๋ฆฐ์ƒท F1 Cmd + Ctrl + Shift + 4 ์ „์ฒด ์˜์—ญ ์บก์ฒ˜ ํ›„ ํด๋ฆฝ๋ณด๋“œ ์ €์žฅ
์Šคํฌ๋ฆฐ์ƒท F3 Shottr Delayed Capture ์ „์ฒด Shottr ๊ธฐ๋Šฅ
๋‹จ์–ด ์ด๋™ Ctrl + ← Option + ← ์ „์ฒด ์ด์ „ ๋‹จ์–ด๋กœ ์ด๋™
๋‹จ์–ด ์„ ํƒ Ctrl + Shift + ← Option + Shift + ← ์ „์ฒด ์ด์ „ ๋‹จ์–ด๊นŒ์ง€ ์„ ํƒ
๋‹จ์–ด ์ด๋™ Ctrl + → Option + → ์ „์ฒด ๋‹ค์Œ ๋‹จ์–ด๋กœ ์ด๋™
๋‹จ์–ด ์„ ํƒ Ctrl + Shift + → Option + Shift + → ์ „์ฒด ๋‹ค์Œ ๋‹จ์–ด๊นŒ์ง€ ์„ ํƒ
๋…ธ์…˜ ์ „์šฉ ์„œ์‹ Ctrl + E Cmd + E Notion๋งŒ ์ธ๋ผ์ธ ์ฝ”๋“œ
๋…ธ์…˜ ์ „์šฉ ์„œ์‹ Ctrl + B Cmd + B Notion๋งŒ ๋ณผ๋“œ
๋…ธ์…˜ ์ „์šฉ ์„œ์‹ Ctrl + I Cmd + I Notion๋งŒ ์ดํƒค๋ฆญ
๋…ธ์…˜ ์ „์šฉ ์„œ์‹ Ctrl + U Cmd + U Notion๋งŒ ๋ฐ‘์ค„
๋…ธ์…˜ ์ „์šฉ ์„œ์‹ Ctrl + K Cmd + K Notion๋งŒ ๋งํฌ ์‚ฝ์ž…
ํŽธ์ง‘ Ctrl + C Cmd + C Terminal, iTerm2 ์ œ์™ธ ๋ณต์‚ฌ
ํŽธ์ง‘ Ctrl + V Cmd + V Terminal, iTerm2 ์ œ์™ธ ๋ถ™์—ฌ๋„ฃ๊ธฐ
ํŽธ์ง‘ Ctrl + X Cmd + X Terminal, iTerm2 ์ œ์™ธ ์ž˜๋ผ๋‚ด๊ธฐ
ํŽธ์ง‘ Ctrl + Z Cmd + Z Terminal, iTerm2 ์ œ์™ธ ์‹คํ–‰ ์ทจ์†Œ
ํŽธ์ง‘ Ctrl + Shift + Z Cmd + Shift + Z Terminal, iTerm2 ์ œ์™ธ ๋‹ค์‹œ ์‹คํ–‰
ํŽธ์ง‘ Ctrl + S Cmd + S Terminal, iTerm2 ์ œ์™ธ ์ €์žฅ
ํŽธ์ง‘ Ctrl + A Cmd + A Terminal, iTerm2 ์ œ์™ธ ์ „์ฒด ์„ ํƒ
์ค„ ์ด๋™ Home Cmd + ← ์ „์ฒด ์ค„ ์‹œ์ž‘์œผ๋กœ ์ด๋™
์ค„ ์ด๋™ End Cmd + → ์ „์ฒด ์ค„ ๋์œผ๋กœ ์ด๋™
์ค„ ์„ ํƒ Shift + Home Cmd + Shift + ← ์ „์ฒด ์ค„ ์‹œ์ž‘๊นŒ์ง€ ์„ ํƒ
์ค„ ์„ ํƒ Shift + End Cmd + Shift + → ์ „์ฒด ์ค„ ๋๊นŒ์ง€ ์„ ํƒ
๋ฌธ์„œ ์ด๋™ Ctrl + Home Cmd + ↑ ์ „์ฒด ๋ฌธ์„œ ๋งจ ์œ„๋กœ ์ด๋™
๋ฌธ์„œ ์ด๋™ Ctrl + End Cmd + ↓ ์ „์ฒด ๋ฌธ์„œ ๋งจ ์•„๋ž˜๋กœ ์ด๋™
์ฐพ๊ธฐ Ctrl + F Cmd + F ์ „์ฒด ์ฐพ๊ธฐ
๋ฐ”๊พธ๊ธฐ Ctrl + H Cmd + Option + F ์ „์ฒด ์ฐพ๊ธฐ/๋ฐ”๊พธ๊ธฐ
๊ฒ€์ƒ‰ ์ด๋™ Ctrl + G Cmd + G ์ „์ฒด ๋‹ค์Œ ์ฐพ๊ธฐ ๊ฒฐ๊ณผ
๊ฒ€์ƒ‰ ์ด๋™ Ctrl + Shift + G Cmd + Shift + G ์ „์ฒด ์ด์ „ ์ฐพ๊ธฐ ๊ฒฐ๊ณผ

 

{
  "title": "My Shortcut",
  "rules": [
    {
      "description": "F1 → screenshot to clipboard",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "f1"
          },
          "to": [
            {
              "key_code": "4",
              "modifiers": ["left_command", "left_control", "left_shift"]
            }
          ]
        }
      ]
    },
    {
      "description": "F3 → Shottr delayed area capture",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "f3"
          },
          "to": [
            {
              "shell_command": "open 'shottr://grab/delayed=2'"
            }
          ]
        }
      ]
    },
    {
      "description": "F5 → App Expose",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "f5"
          },
          "to": [
            {
              "apple_vendor_keyboard_key_code": "mission_control",
              "modifiers": ["left_control"]
            }
          ]
        }
      ]
    },
    {
      "description": "Ctrl → Option (word navigation fixed)",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "left_arrow",
            "modifiers": {
              "mandatory": ["control"],
              "optional": []
            }
          },
          "to": [
            {
              "key_code": "left_arrow",
              "modifiers": ["option"]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "left_arrow",
            "modifiers": {
              "mandatory": ["control", "shift"],
              "optional": []
            }
          },
          "to": [
            {
              "key_code": "left_arrow",
              "modifiers": ["option", "shift"]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "right_arrow",
            "modifiers": {
              "mandatory": ["control"],
              "optional": []
            }
          },
          "to": [
            {
              "key_code": "right_arrow",
              "modifiers": ["option"]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "right_arrow",
            "modifiers": {
              "mandatory": ["control", "shift"],
              "optional": []
            }
          },
          "to": [
            {
              "key_code": "right_arrow",
              "modifiers": ["option", "shift"]
            }
          ]
        }
      ]
    },
    {
      "description": "Notion only - Ctrl shortcuts to Command shortcuts",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "e",
            "modifiers": {
              "mandatory": ["control"],
              "optional": []
            }
          },
          "to": [
            {
              "key_code": "e",
              "modifiers": ["command"]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": ["^notion\\.id$"]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "b",
            "modifiers": {
              "mandatory": ["control"],
              "optional": []
            }
          },
          "to": [
            {
              "key_code": "b",
              "modifiers": ["command"]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": ["^notion\\.id$"]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "i",
            "modifiers": {
              "mandatory": ["control"],
              "optional": []
            }
          },
          "to": [
            {
              "key_code": "i",
              "modifiers": ["command"]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": ["^notion\\.id$"]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "u",
            "modifiers": {
              "mandatory": ["control"],
              "optional": []
            }
          },
          "to": [
            {
              "key_code": "u",
              "modifiers": ["command"]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": ["^notion\\.id$"]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "k",
            "modifiers": {
              "mandatory": ["control"],
              "optional": []
            }
          },
          "to": [
            {
              "key_code": "k",
              "modifiers": ["command"]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": ["^notion\\.id$"]
            }
          ]
        }
      ]
    },
    {
      "description": "Ctrl + C/V → Cmd + C/V",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "c",
            "modifiers": {
              "mandatory": ["control"],
              "optional": []
            }
          },
          "to": [
            {
              "key_code": "c",
              "modifiers": ["command"]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_unless",
              "bundle_identifiers": [
                "^com\\.apple\\.Terminal$",
                "^com\\.googlecode\\.iterm2$"
              ]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "v",
            "modifiers": {
              "mandatory": ["control"],
              "optional": []
            }
          },
          "to": [
            {
              "key_code": "v",
              "modifiers": ["command"]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_unless",
              "bundle_identifiers": [
                "^com\\.apple\\.Terminal$",
                "^com\\.googlecode\\.iterm2$"
              ]
            }
          ]
        }
      ]
    },
    {
      "description": "Ctrl X/Z/S → Cmd equivalents",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "x",
            "modifiers": { "mandatory": ["control"], "optional": [] }
          },
          "to": [{ "key_code": "x", "modifiers": ["command"] }],
          "conditions": [
            {
              "type": "frontmost_application_unless",
              "bundle_identifiers": [
                "^com\\.apple\\.Terminal$",
                "^com\\.googlecode\\.iterm2$"
              ]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "z",
            "modifiers": { "mandatory": ["control"], "optional": [] }
          },
          "to": [{ "key_code": "z", "modifiers": ["command"] }],
          "conditions": [
            {
              "type": "frontmost_application_unless",
              "bundle_identifiers": [
                "^com\\.apple\\.Terminal$",
                "^com\\.googlecode\\.iterm2$"
              ]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "z",
            "modifiers": { "mandatory": ["control", "shift"], "optional": [] }
          },
          "to": [{ "key_code": "z", "modifiers": ["command", "shift"] }],
          "conditions": [
            {
              "type": "frontmost_application_unless",
              "bundle_identifiers": [
                "^com\\.apple\\.Terminal$",
                "^com\\.googlecode\\.iterm2$"
              ]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "s",
            "modifiers": { "mandatory": ["control"], "optional": [] }
          },
          "to": [{ "key_code": "s", "modifiers": ["command"] }],
          "conditions": [
            {
              "type": "frontmost_application_unless",
              "bundle_identifiers": [
                "^com\\.apple\\.Terminal$",
                "^com\\.googlecode\\.iterm2$"
              ]
            }
          ]
        }
      ]
    },
    {
      "description": "Ctrl A → Cmd A",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "a",
            "modifiers": {
              "mandatory": ["control"],
              "optional": []
            }
          },
          "to": [
            {
              "key_code": "a",
              "modifiers": ["command"]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_unless",
              "bundle_identifiers": [
                "^com\\.apple\\.Terminal$",
                "^com\\.googlecode\\.iterm2$"
              ]
            }
          ]
        }
      ]
    },
    {
      "description": "Home/End → Cmd + Arrow (Windows style)",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "home",
            "modifiers": {
              "optional": []
            }
          },
          "to": [
            {
              "key_code": "left_arrow",
              "modifiers": ["command"]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "end",
            "modifiers": {
              "optional": []
            }
          },
          "to": [
            {
              "key_code": "right_arrow",
              "modifiers": ["command"]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "home",
            "modifiers": {
              "mandatory": ["shift"],
              "optional": []
            }
          },
          "to": [
            {
              "key_code": "left_arrow",
              "modifiers": ["command", "shift"]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "end",
            "modifiers": {
              "mandatory": ["shift"],
              "optional": []
            }
          },
          "to": [
            {
              "key_code": "right_arrow",
              "modifiers": ["command", "shift"]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "home",
            "modifiers": {
              "mandatory": ["control"],
              "optional": []
            }
          },
          "to": [
            {
              "key_code": "up_arrow",
              "modifiers": ["command"]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "end",
            "modifiers": {
              "mandatory": ["control"],
              "optional": []
            }
          },
          "to": [
            {
              "key_code": "down_arrow",
              "modifiers": ["command"]
            }
          ]
        }
      ]
    },
    {
      "description": "Ctrl Find/Replace → Cmd equivalents",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "f",
            "modifiers": { "mandatory": ["control"], "optional": [] }
          },
          "to": [{ "key_code": "f", "modifiers": ["command"] }]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "h",
            "modifiers": { "mandatory": ["control"], "optional": [] }
          },
          "to": [{ "key_code": "f", "modifiers": ["command", "option"] }]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "g",
            "modifiers": { "mandatory": ["control"], "optional": [] }
          },
          "to": [{ "key_code": "g", "modifiers": ["command"] }]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "g",
            "modifiers": { "mandatory": ["control", "shift"], "optional": [] }
          },
          "to": [{ "key_code": "g", "modifiers": ["command", "shift"] }]
        }
      ]
    }
  ]
}

๋! ๐Ÿค˜

๋Œ“๊ธ€