From 3a6d97ac8d47ae97a57688ca2f407f4305fafc41 Mon Sep 17 00:00:00 2001 From: ujinyng Date: Thu, 11 Jul 2024 18:51:35 +0900 Subject: [PATCH] karabiner: fix MacHangul Karabiner 14.13.0 (Mac Sonoma 14.4.1) --- _karabiner/.config/karabiner/.DS_Store~ | Bin 0 -> 8196 bytes .../.config/karabiner/assets/.DS_Store~ | Bin 0 -> 8196 bytes .../assets/complex_modifications/.DS_Store~ | Bin 0 -> 6148 bytes .../complex_modifications/MacHangul.json | 25 +- .../complex_modifications/TM680BL.json~ | 576 +++++++++ .../automatic_backups/karabiner_20240513.json | 1079 +++++++++++++++++ .../automatic_backups/karabiner_20240515.json | 427 +++++++ _karabiner/.config/karabiner/karabiner.json | 852 ++----------- _karabiner/.config/karabiner/karabiner.json~ | 1052 ++++++++++++++++ 9 files changed, 3235 insertions(+), 776 deletions(-) create mode 100644 _karabiner/.config/karabiner/.DS_Store~ create mode 100644 _karabiner/.config/karabiner/assets/.DS_Store~ create mode 100644 _karabiner/.config/karabiner/assets/complex_modifications/.DS_Store~ create mode 100644 _karabiner/.config/karabiner/assets/complex_modifications/TM680BL.json~ create mode 100644 _karabiner/.config/karabiner/automatic_backups/karabiner_20240513.json create mode 100644 _karabiner/.config/karabiner/automatic_backups/karabiner_20240515.json create mode 100644 _karabiner/.config/karabiner/karabiner.json~ diff --git a/_karabiner/.config/karabiner/.DS_Store~ b/_karabiner/.config/karabiner/.DS_Store~ new file mode 100644 index 0000000000000000000000000000000000000000..0195236a55c8a3ca6e4c2ff303058e16c15f4db8 GIT binary patch literal 8196 zcmeHMU2GIp6h3DuWp1Hzi$FVzg_Wj&xRth{h05QyU4F_>K(?g?DrI(OpcAJvWoLF5 zT5D>e@db<;jfof&!y6(`8s)_oe_|y5#9)*d9`waWqtV1C?xRS01W`3(It>Cr0Nbu$i+3Q#KMs(LL_^D0Q_vpAI~~oc9wQD z5Je!0Koo%}0#O8_2>c%+Kxein+8pP;l16nDfhYp^WCXnL=l)B0df0Og8@E$tcv{odUo8g{h+n=Ta3-CnqR#@(`vMu+M35Rqh2W! z7(v1BG4jVn?~oCUX2W*B=Q%TNBYVWQN+Wz}ujdAa?OJ(hY?~IT3=i6_>6LoCf@}Kn zdooI(X-s1yJU%(u-rku^v~+ZBno1@nH+NB|t+jLG)D+X|o7=Yaog6ziG5O@wQx}zI z7(N|fafPR^SGwu=#a{KABKB(8&F{)?GPY3f+q-Z72B{l5m^2RU+j~= zeL2rPl(&lH+hERf3S%xw>T-sYE0D6)?Kl~G!t#d#>uexe$9yjz^h(7cn{36{2wx)X z4~_@6=lVyiyids3TZ@)8u3qzSYsaHI(l=`FTg>a0Fm{aM;s*99+sY4=Y%>@=YWO+J zHEs9wVA1yNtYh`N#+X%y=NY@PyuP7UkLwSVMU^HRZ_&JzpH*ZmGYMLBgyH02QK6$~7P%+uUSpO5Wq1>k>h=sScGkw4@ zvX;Y5rp!7wF@3P8T;==1!7W>vK9uvu#>hp#4wK<#6Mlf7;1~E6euLlPPh5aYaXHpw13ri?_y}&m&A1JBU<$i&FCN6l@Gxd@ z7_(@ig{RQN5}v~eoWy7F0=|GR;!AiDFXI(_8?WMf_řAh@X9KXiz)e2)}${tYt za*emBb=#dulnvjk#ZKIbvhiKJ_oV+5%HCY0czXZRWhA+C8(M6+8HMDoOq* zf=J?&i6OV}Ha3bq*W)W#<6Mj$Al_MLH9;P}Kxrr9t2N>amxR&d&GEGwk($S(l&z1G zrlIk9N_hio(}<*ezLIWaos4MAtCX~hZPAFWyjn@OvlJ6I8VA*Hj;EQ%aV`$d$-p<^ zGF*d?;WJ|1H*gDngrDIL1gu6bSr^9@*obRzEk1v`+7M4|h%7rEFEOq03@AXg;$RZoHOuwpr z_uc#MeckW$xvz640D$c!vlT!G0GTc(wZ+ukrm=Z;-O{AcQcDsk9>4($#vls?@NV&r z3=skm0ucfc0ucfc0{;aB=$p-&Jj-`q%tn2LK!m`&M1Y+S3A&g}g>p(resoaBO8}Cr z1mKOvR0r^wL?~0CoD!0U(wd@rz%UfU5(7mz%_o>U$y6w(gcRX`A{;QhGlmrk^1D-9 zg1ZBzgpB$Kfe3+H5n$=F0`gR^7hv?J`rQN@PSTYJ0|JsBxZvk1{%FqeaujtnH|p4a zkW7AoQcdlGg^Og?mdeL7BVHvF7(vNzH;Thd>otOrTsZFYJm<#P$Q`k*N>*z~dv0LZ zu2tm0wrP>eu>spPy-K@Ra!sGFlMxdNYgtX7m}qTFZfi*-CtDH|J9i{o60OPmw@*$g z@~Y<6y$HA=Ijp!)>yzsM}4mtq`6~O z(@MT|*djl>Y;}+~g~r%QJ)?o`x&9HW=#y+pCB?>+D@#_aXKtZ8jo-O`n-bbYXt zvmYzj!MN5W%i&UbT#=8N^d#M$$-+!-*JJvfvOLV}>7qrwFstkJyA;ik`+VA$SYV^N zS9xCo3kCHV!A%W><3KKGHC!5-*^Auyo==ivfegiCM* z-hubwBlrxi!8CjhU&D9sGyDSA;aB(_{(wJG#(Iq5a$JiWa3gNU7Hq{`xEuH4K1}05 z?8YAK#Uq%-6PUw1p2h%6IELf+1U`f3@mYKsFX0>bCccI5;fMG!eu7u=8h(#I;E#A+ zlB61`R$3q}la@;j;<=@2X7mfa+Dj{GG>5~1G9x@3r2gAwM!cg_ZTnX<JZi>e>NxMueWX@aejjLJ>Ws}0ywoRmBsO;FOs#-1O zm6+SJiBt%c6kCR!&ojt6D^*{Ix8Ys*06rzEenTYv34TMsg}4M)Vk0K73D;vYZowpO z#WvhV^xTgJu$@!%VIt@uJdDG5oYU06N72Cox>zBaPT*Ob#3%6_K7~)?b9ezS;`8_d zzJjmLpyLBoA_|GG&5e%bOwn~b_Y_4{34Zf}^IfYE0O+j#@0|Vj|M?D6wEqZ!|1|6gx8j literal 0 HcmV?d00001 diff --git a/_karabiner/.config/karabiner/assets/complex_modifications/.DS_Store~ b/_karabiner/.config/karabiner/assets/complex_modifications/.DS_Store~ new file mode 100644 index 0000000000000000000000000000000000000000..8c282801e0f161cf944a6412a4414162e2ff8435 GIT binary patch literal 6148 zcmeHKJxc>Y5PhR50*a)xbAN%Tg<2j*1O=`12be?%gd&dUry(M|i*t3*0h( z^H+F9i}hX8F6K=;XB}TsPKX!pX13rVp2)t$HO^4up8M|Rb*#SH;u$$ZDv%1K0;xbM z@DCMW&sG~BIA%-*Qh`+9O9A~q6uM#+*g4v-gF%n)IzLiW5`=lJD z0;#~CQb0!2$7#(^irzZ-IPJBC{!ITg)>=73?-0O&w<hx}wjls{%Vmqcd-GVjcuk Lm$X#iHx&2)UPCFT literal 0 HcmV?d00001 diff --git a/_karabiner/.config/karabiner/assets/complex_modifications/MacHangul.json b/_karabiner/.config/karabiner/assets/complex_modifications/MacHangul.json index ce69d9a..59339f9 100644 --- a/_karabiner/.config/karabiner/assets/complex_modifications/MacHangul.json +++ b/_karabiner/.config/karabiner/assets/complex_modifications/MacHangul.json @@ -4,30 +4,7 @@ { "description": "맥북키보드 R_Command를 한영키로 사용", "manipulators": [ - { - "type": "basic", - "conditions": [ - { - "type": "frontmost_application_if", - "bundle_identifiers": [ - "com.parallels.desktop", - "com.parallels.vm", - "com.parallels.desktop.console", - "com.parallels.winapp.", - "com.microsoft.rdc.macos" - ] - }, - { - "type": "device_if", - "identifiers": [ { "vendor_id": 1452 }] - } - ], - "from": { - "key_code": "right_command", - "modifiers": { "optional": [ "caps_lock" ] } - }, - "to": [ { "key_code": "right_option" } ] - }, + { "type": "basic", "conditions": [ diff --git a/_karabiner/.config/karabiner/assets/complex_modifications/TM680BL.json~ b/_karabiner/.config/karabiner/assets/complex_modifications/TM680BL.json~ new file mode 100644 index 0000000..83c499b --- /dev/null +++ b/_karabiner/.config/karabiner/assets/complex_modifications/TM680BL.json~ @@ -0,0 +1,576 @@ +{ + "title": "윈도우 키보드 설정", + "rules": [ + { + "description": "한/영키를 한영전환으로 사용", + "manipulators": [ + { + "type": "basic", + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ] + }, + { + "type": "device_unless", + "identifiers": [ + { + "vendor_id": 1452 + } + ] + } + ], + "from": { + "key_code": "right_option", + "modifiers": { + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "right_option" + } + ] + }, + { + "type": "basic", + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ] + }, + { + "type": "device_unless", + "identifiers": [ + { + "vendor_id": 1452 + } + ] + } + ], + "from": { + "key_code": "right_option", + "modifiers": { + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "spacebar", + "modifiers": [ + "left_control", + "left_option" + ] + } + ] + } + ] + }, + { + "description": "윈도우 오른쪽 컨트롤키를 특수문자/한자 키로 사용", + "manipulators": [ + { + "type": "basic", + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ] + }, + { + "type": "input_source_if", + "input_sources": [ + { + "language": "en" + } + ] + }, + { + "type": "device_unless", + "identifiers": [ + { + "vendor_id": 1452 + } + ] + } + ], + "parameters": { + "basic.to_if_held_down_threshold_milliseconds": 300 + }, + "from": { + "key_code": "right_congrol", + "modifiers": { + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "right_control", + "lazy": true + } + ], + "to_if_alone": [ + { + "key_code": "spacebar", + "modifiers": [ + "left_control", + "left_command" + ] + } + ] + }, + { + "type": "basic", + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ] + }, + { + "type": "input_source_if", + "input_sources": [ + { + "language": "ko" + } + ] + }, + { + "type": "device_unless", + "identifiers": [ + { + "vendor_id": 1452 + } + ] + } + ], + "parameters": { + "basic.to_if_alone_timeout_milliseconds": 300, + "basic.to_if_held_down_threshold_milliseconds": 300 + }, + "from": { + "key_code": "right_control", + "modifiers": { + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "right_control", + "lazy": true + } + ], + "to_if_held_down": [ + { + "key_code": "return_or_enter", + "modifiers": [ + "right_option" + ] + } + ], + "to_if_alone": [ + { + "key_code": "spacebar", + "modifiers": [ + "left_control", + "left_command" + ] + } + ] + } + ] + }, + { + "description": "Ins(default: Page Up) 를 insert키로 사용", + "manipulators": [ + { + "type": "basic", + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ] + }, + { + "type": "device_unless", + "identifiers": [ + { + "vendor_id": 1452 + } + ] + } + ], + "from": + { + "key_code": "page_up", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": + [ + { + "key_code": "insert" + } + ] + } + ] + }, + { + "description": "Del(default: Page Down) 를 delete키로 사용", + "manipulators": [ + { + "type": "basic", + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ] + }, + { + "type": "device_unless", + "identifiers": [ + { + "vendor_id": 1452 + } + ] + } + ], + "from": + { + "key_code": "page_down", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": + [ + { + "key_code": "delete_forward" + } + ] + } + ] + }, + { + "description": "PrtSc(default: delete키 위치)를 스크린샷/fn으로 사용", + "manipulators": [ + { + "type": "basic", + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ] + }, + { + "type": "device_unless", + "identifiers": [ { + "vendor_id": 1452 + } + ] + } + ], + "from": { + "key_code": "delete_forward" + }, + "to_if_alone": [ + { + "key_code": "5", + "modifiers": [ + "left_shift", + "left_command" + ] + } + ], + "to_if_held_down": [ + { + "key_code": "fn" + } + ] + } + ] + }, + { + "description": "ESC를 `(grave accent)로 사용", + "manipulators": [ + { + "type": "basic", + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ] + }, + { + "type": "device_unless", + "identifiers": [ { + "vendor_id": 1452 + } + ] + } + ], + "from": { + "key_code": "escape" + }, + "to" : { + "key_code": "grave_accent_and_tilde" + } + } + ] + }, + { + "description": "ESC+Shift를 ~(tilde)로 사용", + "manipulators": [ + { + "type": "basic", + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ] + }, + { + "type": "device_unless", + "identifiers": [ { + "vendor_id": 1452 + } + ] + } + ], + "from": { + "key_code": "escape", + "modifiers": { + "mandatory": [ + "shift" + ] + } + }, + "to" :[ { + "key_code": "grave_accent_and_tilde", + "modifiers": ["shift"] + } + ] + } + ] + }, + { + "description": "Caps Lock을 ESC로 사용", + "manipulators": [ + { + "type": "basic", + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ] + }, + { + "type": "device_unless", + "identifiers": [ { + "vendor_id": 1452 + } + ] + } + ], + "from": { + "key_code": "caps_lock" + }, + "to" : { + "key_code": "escape" + + } + } + ] + }, + { + "description": "Caps Lock+Shift을 Caps Lock으로 사용", + "manipulators": [ + { + "type": "basic", + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ] + }, + { + "type": "device_unless", + "identifiers": [ { + "vendor_id": 1452 + } + ] + } + ], + "from": { + "key_code": "caps_lock", + "mandatory": [ + "shift" + ] + }, + "to" : { + "key_code": "caps_lock" + + } + } + ] + }, + { + "description": "Left_Alt to Left_Command", + "manipulators": [ + { + "type": "basic", + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ] + }, + { + "type": "device_unless", + "identifiers": [ + { + "vendor_id": 1452 + } + ] + } + ], + "from": { + "key_code": "left_option", + "modifiers": { + "mandatory": [ + "any" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "left_command" + } + ] + } + ] + }, + { + "description": "Left_Command to Left_Option", + "manipulators": [ + { + "type": "basic", + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ] + }, + { + "type": "device_unless", + "identifiers": [ + { + "vendor_id": 1452 + } + ] + } + ], + "from": { + "key_code": "left_command", + "modifiers": { + "mandatory": [ + "any" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "left_option" + } + ] + } + ] + } + ] +} diff --git a/_karabiner/.config/karabiner/automatic_backups/karabiner_20240513.json b/_karabiner/.config/karabiner/automatic_backups/karabiner_20240513.json new file mode 100644 index 0000000..7961386 --- /dev/null +++ b/_karabiner/.config/karabiner/automatic_backups/karabiner_20240513.json @@ -0,0 +1,1079 @@ +{ + "global": { + "check_for_updates_on_startup": true, + "show_in_menu_bar": false, + "show_profile_name_in_menu_bar": false + }, + "profiles": [ + { + "complex_modifications": { + "parameters": { + "basic.simultaneous_threshold_milliseconds": 50, + "basic.to_delayed_action_delay_milliseconds": 500, + "basic.to_if_alone_timeout_milliseconds": 1000, + "basic.to_if_held_down_threshold_milliseconds": 500, + "mouse_motion_to_scroll.speed": 100 + }, + "rules": [ + { + "description": "맥북키보드 R_Command를 한영키로 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_if" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_if" + } + ], + "from": { + "key_code": "right_command", + "modifiers": { + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "right_option" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_if" + } + ], + "from": { + "key_code": "right_command", + "modifiers": { + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "spacebar", + "modifiers": [ + "left_control", + "left_option" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "맥북키보드 R_Option을 한자/특수문자 키로 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos", + "com.google.Chrome" + ], + "type": "frontmost_application_if" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_if" + } + ], + "from": { + "key_code": "right_option", + "modifiers": { + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "right_control" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos", + "com.google.Chrome" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_if" + }, + { + "input_sources": [ + { + "language": "en" + } + ], + "type": "input_source_if" + } + ], + "from": { + "key_code": "right_option", + "modifiers": { + "optional": [ + "caps_lock" + ] + } + }, + "parameters": { + "basic.to_if_held_down_threshold_milliseconds": 300 + }, + "to": [ + { + "key_code": "right_option", + "lazy": true + } + ], + "to_if_held_down": [ + { + "key_code": "spacebar", + "modifiers": [ + "left_control", + "left_command" + ] + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos", + "com.google.Chrome" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_if" + }, + { + "input_sources": [ + { + "language": "ko" + } + ], + "type": "input_source_if" + } + ], + "from": { + "key_code": "right_option", + "modifiers": { + "optional": [ + "caps_lock" + ] + } + }, + "parameters": { + "basic.to_if_alone_timeout_milliseconds": 300, + "basic.to_if_held_down_threshold_milliseconds": 300 + }, + "to": [ + { + "key_code": "right_option", + "lazy": true + } + ], + "to_if_alone": [ + { + "key_code": "return_or_enter", + "modifiers": [ + "right_option" + ] + } + ], + "to_if_held_down": [ + { + "key_code": "spacebar", + "modifiers": [ + "left_control", + "left_command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Left_Alt to Left_Command 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "left_option", + "modifiers": { + "mandatory": [ + "any" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "left_command" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Left_Command to Left_Option 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "left_command", + "modifiers": { + "mandatory": [ + "any" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "left_option" + } + ], + "type": "basic" + } + ] + }, + { + "description": "윈도우 오른쪽 Alt를 한영전환으로 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_if" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "right_option", + "modifiers": { + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "right_option" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "right_option", + "modifiers": { + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "spacebar", + "modifiers": [ + "left_control", + "left_option" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "윈도우 오른쪽 컨트롤키를 특수문자/한자 키로 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "input_sources": [ + { + "language": "en" + } + ], + "type": "input_source_if" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "right_congrol", + "modifiers": { + "optional": [ + "caps_lock" + ] + } + }, + "parameters": { + "basic.to_if_held_down_threshold_milliseconds": 300 + }, + "to": [ + { + "key_code": "right_control", + "lazy": true + } + ], + "to_if_alone": [ + { + "key_code": "spacebar", + "modifiers": [ + "left_control", + "left_command" + ] + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "input_sources": [ + { + "language": "ko" + } + ], + "type": "input_source_if" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "right_control", + "modifiers": { + "optional": [ + "caps_lock" + ] + } + }, + "parameters": { + "basic.to_if_alone_timeout_milliseconds": 300, + "basic.to_if_held_down_threshold_milliseconds": 300 + }, + "to": [ + { + "key_code": "right_control", + "lazy": true + } + ], + "to_if_alone": [ + { + "key_code": "spacebar", + "modifiers": [ + "left_control", + "left_command" + ] + } + ], + "to_if_held_down": [ + { + "key_code": "return_or_enter", + "modifiers": [ + "right_option" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "PrtSc(default: delete키 위치)를 스크린샷/fn으로 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "delete_forward" + }, + "to_if_alone": [ + { + "key_code": "5", + "modifiers": [ + "left_shift", + "left_command" + ] + } + ], + "to_if_held_down": [ + { + "key_code": "fn" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Caps Lock을 ESC로 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "caps_lock" + }, + "to": { + "key_code": "escape" + }, + "type": "basic" + } + ] + }, + { + "description": "ESC+Shift를 ~(tilde)로 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "escape", + "modifiers": { + "mandatory": [ + "shift" + ] + } + }, + "to": [ + { + "key_code": "grave_accent_and_tilde", + "modifiers": [ + "shift" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "ESC를 `(grave accent)로 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "escape" + }, + "to": { + "key_code": "grave_accent_and_tilde" + }, + "type": "basic" + } + ] + }, + { + "description": "Caps Lock+Shift을 Caps Lock으로 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "caps_lock", + "mandatory": [ + "shift" + ] + }, + "to": { + "key_code": "caps_lock" + }, + "type": "basic" + } + ] + }, + { + "description": "Ins(default: Page Up) 를 insert키로 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "page_up" + }, + "to": { + "key_code": "insert" + }, + "type": "basic" + } + ] + }, + { + "description": "Del(default: Page Down) 를 delete키로 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "page_down" + }, + "to": { + "key_code": "delete_forward" + }, + "type": "basic" + } + ] + } + ] + }, + "devices": [ + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": true, + "is_pointing_device": false, + "product_id": 34304, + "vendor_id": 1452 + }, + "ignore": false, + "manipulate_caps_lock_led": true, + "simple_modifications": [] + }, + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": true, + "is_pointing_device": false, + "product_id": 832, + "vendor_id": 1452 + }, + "ignore": false, + "manipulate_caps_lock_led": true, + "simple_modifications": [ + { + "from": { + "key_code": "caps_lock" + }, + "to": [ + { + "key_code": "escape" + } + ] + } + ] + }, + { + "disable_built_in_keyboard_if_exists": true, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": true, + "is_pointing_device": false, + "product_id": 64020, + "vendor_id": 9639 + }, + "ignore": false, + "manipulate_caps_lock_led": true, + "simple_modifications": [] + }, + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": true, + "is_pointing_device": true, + "product_id": 16386, + "vendor_id": 1121 + }, + "ignore": true, + "manipulate_caps_lock_led": true, + "simple_modifications": [] + }, + { + "disable_built_in_keyboard_if_exists": true, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": true, + "is_pointing_device": false, + "product_id": 16386, + "vendor_id": 1121 + }, + "ignore": false, + "manipulate_caps_lock_led": true, + "simple_modifications": [] + }, + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": true, + "is_pointing_device": true, + "product_id": 45083, + "vendor_id": 1133 + }, + "ignore": true, + "manipulate_caps_lock_led": true, + "simple_modifications": [] + }, + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": true, + "is_pointing_device": false, + "product_id": 50475, + "vendor_id": 1133 + }, + "ignore": true, + "manipulate_caps_lock_led": true, + "simple_modifications": [] + }, + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": true, + "is_pointing_device": false, + "product_id": 64023, + "vendor_id": 9639 + }, + "ignore": false, + "manipulate_caps_lock_led": true, + "simple_modifications": [] + } + ], + "fn_function_keys": [ + { + "from": { + "key_code": "f1" + }, + "to": [ + { + "consumer_key_code": "display_brightness_decrement" + } + ] + }, + { + "from": { + "key_code": "f2" + }, + "to": [ + { + "consumer_key_code": "display_brightness_increment" + } + ] + }, + { + "from": { + "key_code": "f3" + }, + "to": [ + { + "key_code": "mission_control" + } + ] + }, + { + "from": { + "key_code": "f4" + }, + "to": [ + { + "key_code": "launchpad" + } + ] + }, + { + "from": { + "key_code": "f5" + }, + "to": [ + { + "key_code": "illumination_decrement" + } + ] + }, + { + "from": { + "key_code": "f6" + }, + "to": [ + { + "key_code": "illumination_increment" + } + ] + }, + { + "from": { + "key_code": "f7" + }, + "to": [ + { + "consumer_key_code": "rewind" + } + ] + }, + { + "from": { + "key_code": "f8" + }, + "to": [ + { + "consumer_key_code": "play_or_pause" + } + ] + }, + { + "from": { + "key_code": "f9" + }, + "to": [ + { + "consumer_key_code": "fastforward" + } + ] + }, + { + "from": { + "key_code": "f10" + }, + "to": [ + { + "consumer_key_code": "mute" + } + ] + }, + { + "from": { + "key_code": "f11" + }, + "to": [ + { + "consumer_key_code": "volume_decrement" + } + ] + }, + { + "from": { + "key_code": "f12" + }, + "to": [ + { + "consumer_key_code": "volume_increment" + } + ] + } + ], + "name": "Default profile", + "parameters": { + "delay_milliseconds_before_open_device": 1000 + }, + "selected": true, + "simple_modifications": [], + "virtual_hid_keyboard": { + "country_code": 0, + "indicate_sticky_modifier_keys_state": true, + "mouse_key_xy_scale": 100 + } + } + ] +} \ No newline at end of file diff --git a/_karabiner/.config/karabiner/automatic_backups/karabiner_20240515.json b/_karabiner/.config/karabiner/automatic_backups/karabiner_20240515.json new file mode 100644 index 0000000..d60b2a3 --- /dev/null +++ b/_karabiner/.config/karabiner/automatic_backups/karabiner_20240515.json @@ -0,0 +1,427 @@ +{ + "global": { + "ask_for_confirmation_before_quitting": true, + "check_for_updates_on_startup": true, + "show_in_menu_bar": true, + "show_profile_name_in_menu_bar": false, + "unsafe_ui": false + }, + "profiles": [ + { + "complex_modifications": { + "parameters": { + "basic.simultaneous_threshold_milliseconds": 50, + "basic.to_delayed_action_delay_milliseconds": 500, + "basic.to_if_alone_timeout_milliseconds": 1000, + "basic.to_if_held_down_threshold_milliseconds": 500, + "mouse_motion_to_scroll.speed": 100 + }, + "rules": [ + { + "description": "Right_command to korean <-> english", + "manipulators": [ + { + "conditions": [ + { + "input_sources": [ + { + "input_source_id": "^com\\.apple\\.keylayout\\.ABC$" + } + ], + "type": "input_source_if" + } + ], + "from": { + "key_code": "right_command", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "select_input_source": { + "input_source_id": "^com\\.apple\\.inputmethod\\.Korean\\.2SetKorean$" + } + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "input_sources": [ + { + "input_source_id": "^com\\.apple\\.inputmethod\\.Korean\\.2SetKorean$" + } + ], + "type": "input_source_if" + } + ], + "from": { + "key_code": "right_command", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "select_input_source": { + "input_source_id": "^com\\.apple\\.keylayout\\.ABC$" + } + } + ], + "type": "basic" + } + ] + }, + { + "description": "Right_command to korean <-> english for gurum", + "manipulators": [ + { + "conditions": [ + { + "input_sources": [ + { + "input_source_id": "^com\\.apple\\.keylayout\\.ABC$" + } + ], + "type": "input_source_if" + } + ], + "from": { + "key_code": "right_command", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "select_input_source": { + "input_source_id": "^org\\.youknowone\\.inputmethod\\.Gureum\\.han2$" + } + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "input_sources": [ + { + "input_source_id": "^org\\.youknowone\\.inputmethod\\.Gureum\\.system$" + } + ], + "type": "input_source_if" + } + ], + "from": { + "key_code": "right_command", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "select_input_source": { + "input_source_id": "^org\\.youknowone\\.inputmethod\\.Gureum\\.han2$" + } + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "input_sources": [ + { + "input_source_id": "^org\\.youknowone\\.inputmethod\\.Gureum\\.han2$" + } + ], + "type": "input_source_if" + } + ], + "from": { + "key_code": "right_command", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "select_input_source": { + "input_source_id": "^com\\.apple\\.keylayout\\.ABC$" + } + } + ], + "type": "basic" + } + ] + }, + { + "description": "Convert to en when ESC", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminl$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyperterm$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^net\\.kovidgoyal\\.kitty$" + ], + "type": "frontmost_application_if" + } + ], + "from": { + "key_code": "escape", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "escape" + } + ], + "to_after_key_up": [ + { + "select_input_source": { + "language": "en" + } + } + ], + "type": "basic" + } + ] + } + ] + }, + "devices": [ + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": [], + "game_pad_swap_sticks": false, + "identifiers": { + "is_game_pad": false, + "is_keyboard": true, + "is_pointing_device": false, + "product_id": 832, + "vendor_id": 1452 + }, + "ignore": false, + "manipulate_caps_lock_led": true, + "mouse_flip_horizontal_wheel": false, + "mouse_flip_vertical_wheel": false, + "mouse_flip_x": false, + "mouse_flip_y": false, + "mouse_swap_wheels": false, + "mouse_swap_xy": false, + "simple_modifications": [], + "treat_as_built_in_keyboard": false + }, + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": [], + "game_pad_swap_sticks": false, + "identifiers": { + "is_game_pad": false, + "is_keyboard": false, + "is_pointing_device": true, + "product_id": 832, + "vendor_id": 1452 + }, + "ignore": true, + "manipulate_caps_lock_led": false, + "mouse_flip_horizontal_wheel": false, + "mouse_flip_vertical_wheel": false, + "mouse_flip_x": false, + "mouse_flip_y": false, + "mouse_swap_wheels": false, + "mouse_swap_xy": false, + "simple_modifications": [], + "treat_as_built_in_keyboard": false + }, + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": [], + "game_pad_swap_sticks": false, + "identifiers": { + "is_game_pad": false, + "is_keyboard": true, + "is_pointing_device": false, + "product_id": 34304, + "vendor_id": 1452 + }, + "ignore": false, + "manipulate_caps_lock_led": true, + "mouse_flip_horizontal_wheel": false, + "mouse_flip_vertical_wheel": false, + "mouse_flip_x": false, + "mouse_flip_y": false, + "mouse_swap_wheels": false, + "mouse_swap_xy": false, + "simple_modifications": [], + "treat_as_built_in_keyboard": false + } + ], + "fn_function_keys": [ + { + "from": { + "key_code": "f1" + }, + "to": [ + { + "consumer_key_code": "display_brightness_decrement" + } + ] + }, + { + "from": { + "key_code": "f2" + }, + "to": [ + { + "consumer_key_code": "display_brightness_increment" + } + ] + }, + { + "from": { + "key_code": "f3" + }, + "to": [ + { + "key_code": "mission_control" + } + ] + }, + { + "from": { + "key_code": "f4" + }, + "to": [ + { + "key_code": "launchpad" + } + ] + }, + { + "from": { + "key_code": "f5" + }, + "to": [ + { + "key_code": "illumination_decrement" + } + ] + }, + { + "from": { + "key_code": "f6" + }, + "to": [ + { + "key_code": "illumination_increment" + } + ] + }, + { + "from": { + "key_code": "f7" + }, + "to": [ + { + "consumer_key_code": "rewind" + } + ] + }, + { + "from": { + "key_code": "f8" + }, + "to": [ + { + "consumer_key_code": "play_or_pause" + } + ] + }, + { + "from": { + "key_code": "f9" + }, + "to": [ + { + "consumer_key_code": "fastforward" + } + ] + }, + { + "from": { + "key_code": "f10" + }, + "to": [ + { + "consumer_key_code": "mute" + } + ] + }, + { + "from": { + "key_code": "f11" + }, + "to": [ + { + "consumer_key_code": "volume_decrement" + } + ] + }, + { + "from": { + "key_code": "f12" + }, + "to": [ + { + "consumer_key_code": "volume_increment" + } + ] + } + ], + "name": "Default profile", + "parameters": { + "delay_milliseconds_before_open_device": 1000 + }, + "selected": true, + "simple_modifications": [ + { + "from": { + "key_code": "caps_lock" + }, + "to": [ + { + "key_code": "escape" + } + ] + } + ], + "virtual_hid_keyboard": { + "country_code": 0, + "indicate_sticky_modifier_keys_state": true, + "mouse_key_xy_scale": 100 + } + } + ] +} \ No newline at end of file diff --git a/_karabiner/.config/karabiner/karabiner.json b/_karabiner/.config/karabiner/karabiner.json index 7961386..d60b2a3 100644 --- a/_karabiner/.config/karabiner/karabiner.json +++ b/_karabiner/.config/karabiner/karabiner.json @@ -1,8 +1,10 @@ { "global": { + "ask_for_confirmation_before_quitting": true, "check_for_updates_on_startup": true, - "show_in_menu_bar": false, - "show_profile_name_in_menu_bar": false + "show_in_menu_bar": true, + "show_profile_name_in_menu_bar": false, + "unsafe_ui": false }, "profiles": [ { @@ -16,335 +18,60 @@ }, "rules": [ { - "description": "맥북키보드 R_Command를 한영키로 사용", + "description": "Right_command to korean <-> english", "manipulators": [ { "conditions": [ - { - "bundle_identifiers": [ - "com.parallels.desktop", - "com.parallels.vm", - "com.parallels.desktop.console", - "com.parallels.winapp.", - "com.microsoft.rdc.macos" - ], - "type": "frontmost_application_if" - }, - { - "identifiers": [ - { - "vendor_id": 1452 - } - ], - "type": "device_if" - } - ], - "from": { - "key_code": "right_command", - "modifiers": { - "optional": [ - "caps_lock" - ] - } - }, - "to": [ - { - "key_code": "right_option" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "bundle_identifiers": [ - "com.parallels.desktop", - "com.parallels.vm", - "com.parallels.desktop.console", - "com.parallels.winapp.", - "com.microsoft.rdc.macos" - ], - "type": "frontmost_application_unless" - }, - { - "identifiers": [ - { - "vendor_id": 1452 - } - ], - "type": "device_if" - } - ], - "from": { - "key_code": "right_command", - "modifiers": { - "optional": [ - "caps_lock" - ] - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": [ - "left_control", - "left_option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "맥북키보드 R_Option을 한자/특수문자 키로 사용", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "com.parallels.desktop", - "com.parallels.vm", - "com.parallels.desktop.console", - "com.parallels.winapp.", - "com.microsoft.rdc.macos", - "com.google.Chrome" - ], - "type": "frontmost_application_if" - }, - { - "identifiers": [ - { - "vendor_id": 1452 - } - ], - "type": "device_if" - } - ], - "from": { - "key_code": "right_option", - "modifiers": { - "optional": [ - "caps_lock" - ] - } - }, - "to": [ - { - "key_code": "right_control" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "bundle_identifiers": [ - "com.parallels.desktop", - "com.parallels.vm", - "com.parallels.desktop.console", - "com.parallels.winapp.", - "com.microsoft.rdc.macos", - "com.google.Chrome" - ], - "type": "frontmost_application_unless" - }, - { - "identifiers": [ - { - "vendor_id": 1452 - } - ], - "type": "device_if" - }, { "input_sources": [ { - "language": "en" + "input_source_id": "^com\\.apple\\.keylayout\\.ABC$" } ], "type": "input_source_if" } ], "from": { - "key_code": "right_option", + "key_code": "right_command", "modifiers": { "optional": [ - "caps_lock" + "any" ] } }, - "parameters": { - "basic.to_if_held_down_threshold_milliseconds": 300 - }, "to": [ { - "key_code": "right_option", - "lazy": true - } - ], - "to_if_held_down": [ - { - "key_code": "spacebar", - "modifiers": [ - "left_control", - "left_command" - ] + "select_input_source": { + "input_source_id": "^com\\.apple\\.inputmethod\\.Korean\\.2SetKorean$" + } } ], "type": "basic" }, { "conditions": [ - { - "bundle_identifiers": [ - "com.parallels.desktop", - "com.parallels.vm", - "com.parallels.desktop.console", - "com.parallels.winapp.", - "com.microsoft.rdc.macos", - "com.google.Chrome" - ], - "type": "frontmost_application_unless" - }, - { - "identifiers": [ - { - "vendor_id": 1452 - } - ], - "type": "device_if" - }, { "input_sources": [ { - "language": "ko" + "input_source_id": "^com\\.apple\\.inputmethod\\.Korean\\.2SetKorean$" } ], "type": "input_source_if" } ], "from": { - "key_code": "right_option", - "modifiers": { - "optional": [ - "caps_lock" - ] - } - }, - "parameters": { - "basic.to_if_alone_timeout_milliseconds": 300, - "basic.to_if_held_down_threshold_milliseconds": 300 - }, - "to": [ - { - "key_code": "right_option", - "lazy": true - } - ], - "to_if_alone": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "right_option" - ] - } - ], - "to_if_held_down": [ - { - "key_code": "spacebar", - "modifiers": [ - "left_control", - "left_command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left_Alt to Left_Command 사용", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "com.parallels.desktop", - "com.parallels.vm", - "com.parallels.desktop.console", - "com.parallels.winapp.", - "com.microsoft.rdc.macos" - ], - "type": "frontmost_application_unless" - }, - { - "identifiers": [ - { - "vendor_id": 1452 - } - ], - "type": "device_unless" - } - ], - "from": { - "key_code": "left_option", + "key_code": "right_command", "modifiers": { - "mandatory": [ - "any" - ], "optional": [ - "caps_lock" - ] - } - }, - "to": [ - { - "key_code": "left_command" - } - ], - "type": "basic" - } - ] - }, - { - "description": "Left_Command to Left_Option 사용", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "com.parallels.desktop", - "com.parallels.vm", - "com.parallels.desktop.console", - "com.parallels.winapp.", - "com.microsoft.rdc.macos" - ], - "type": "frontmost_application_unless" - }, - { - "identifiers": [ - { - "vendor_id": 1452 - } - ], - "type": "device_unless" - } - ], - "from": { - "key_code": "left_command", - "modifiers": { - "mandatory": [ "any" - ], - "optional": [ - "caps_lock" ] } }, "to": [ { - "key_code": "left_option" + "select_input_source": { + "input_source_id": "^com\\.apple\\.keylayout\\.ABC$" + } } ], "type": "basic" @@ -352,208 +79,88 @@ ] }, { - "description": "윈도우 오른쪽 Alt를 한영전환으로 사용", + "description": "Right_command to korean <-> english for gurum", "manipulators": [ { "conditions": [ { - "bundle_identifiers": [ - "com.parallels.desktop", - "com.parallels.vm", - "com.parallels.desktop.console", - "com.parallels.winapp.", - "com.microsoft.rdc.macos" - ], - "type": "frontmost_application_if" - }, - { - "identifiers": [ + "input_sources": [ { - "vendor_id": 1452 + "input_source_id": "^com\\.apple\\.keylayout\\.ABC$" } ], - "type": "device_unless" + "type": "input_source_if" } ], "from": { - "key_code": "right_option", + "key_code": "right_command", "modifiers": { "optional": [ - "caps_lock" + "any" ] } }, "to": [ { - "key_code": "right_option" + "select_input_source": { + "input_source_id": "^org\\.youknowone\\.inputmethod\\.Gureum\\.han2$" + } } ], "type": "basic" }, { "conditions": [ - { - "bundle_identifiers": [ - "com.parallels.desktop", - "com.parallels.vm", - "com.parallels.desktop.console", - "com.parallels.winapp.", - "com.microsoft.rdc.macos" - ], - "type": "frontmost_application_unless" - }, - { - "identifiers": [ - { - "vendor_id": 1452 - } - ], - "type": "device_unless" - } - ], - "from": { - "key_code": "right_option", - "modifiers": { - "optional": [ - "caps_lock" - ] - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": [ - "left_control", - "left_option" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "윈도우 오른쪽 컨트롤키를 특수문자/한자 키로 사용", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "com.parallels.desktop", - "com.parallels.vm", - "com.parallels.desktop.console", - "com.parallels.winapp.", - "com.microsoft.rdc.macos" - ], - "type": "frontmost_application_unless" - }, { "input_sources": [ { - "language": "en" + "input_source_id": "^org\\.youknowone\\.inputmethod\\.Gureum\\.system$" } ], "type": "input_source_if" - }, - { - "identifiers": [ - { - "vendor_id": 1452 - } - ], - "type": "device_unless" } ], "from": { - "key_code": "right_congrol", + "key_code": "right_command", "modifiers": { "optional": [ - "caps_lock" + "any" ] } }, - "parameters": { - "basic.to_if_held_down_threshold_milliseconds": 300 - }, "to": [ { - "key_code": "right_control", - "lazy": true - } - ], - "to_if_alone": [ - { - "key_code": "spacebar", - "modifiers": [ - "left_control", - "left_command" - ] + "select_input_source": { + "input_source_id": "^org\\.youknowone\\.inputmethod\\.Gureum\\.han2$" + } } ], "type": "basic" }, { "conditions": [ - { - "bundle_identifiers": [ - "com.parallels.desktop", - "com.parallels.vm", - "com.parallels.desktop.console", - "com.parallels.winapp.", - "com.microsoft.rdc.macos" - ], - "type": "frontmost_application_unless" - }, { "input_sources": [ { - "language": "ko" + "input_source_id": "^org\\.youknowone\\.inputmethod\\.Gureum\\.han2$" } ], "type": "input_source_if" - }, - { - "identifiers": [ - { - "vendor_id": 1452 - } - ], - "type": "device_unless" } ], "from": { - "key_code": "right_control", + "key_code": "right_command", "modifiers": { "optional": [ - "caps_lock" + "any" ] } }, - "parameters": { - "basic.to_if_alone_timeout_milliseconds": 300, - "basic.to_if_held_down_threshold_milliseconds": 300 - }, "to": [ { - "key_code": "right_control", - "lazy": true - } - ], - "to_if_alone": [ - { - "key_code": "spacebar", - "modifiers": [ - "left_control", - "left_command" - ] - } - ], - "to_if_held_down": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "right_option" - ] + "select_input_source": { + "input_source_id": "^com\\.apple\\.keylayout\\.ABC$" + } } ], "type": "basic" @@ -561,263 +168,42 @@ ] }, { - "description": "PrtSc(default: delete키 위치)를 스크린샷/fn으로 사용", + "description": "Convert to en when ESC", "manipulators": [ { "conditions": [ { "bundle_identifiers": [ - "com.parallels.desktop", - "com.parallels.vm", - "com.parallels.desktop.console", - "com.parallels.winapp.", - "com.microsoft.rdc.macos" - ], - "type": "frontmost_application_unless" - }, - { - "identifiers": [ - { - "vendor_id": 1452 - } + "^com\\.apple\\.Terminl$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyperterm$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^net\\.kovidgoyal\\.kitty$" ], - "type": "device_unless" - } - ], - "from": { - "key_code": "delete_forward" - }, - "to_if_alone": [ - { - "key_code": "5", - "modifiers": [ - "left_shift", - "left_command" - ] - } - ], - "to_if_held_down": [ - { - "key_code": "fn" - } - ], - "type": "basic" - } - ] - }, - { - "description": "Caps Lock을 ESC로 사용", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "com.parallels.desktop", - "com.parallels.vm", - "com.parallels.desktop.console", - "com.parallels.winapp.", - "com.microsoft.rdc.macos" - ], - "type": "frontmost_application_unless" - }, - { - "identifiers": [ - { - "vendor_id": 1452 - } - ], - "type": "device_unless" - } - ], - "from": { - "key_code": "caps_lock" - }, - "to": { - "key_code": "escape" - }, - "type": "basic" - } - ] - }, - { - "description": "ESC+Shift를 ~(tilde)로 사용", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "com.parallels.desktop", - "com.parallels.vm", - "com.parallels.desktop.console", - "com.parallels.winapp.", - "com.microsoft.rdc.macos" - ], - "type": "frontmost_application_unless" - }, - { - "identifiers": [ - { - "vendor_id": 1452 - } - ], - "type": "device_unless" + "type": "frontmost_application_if" } ], "from": { "key_code": "escape", "modifiers": { - "mandatory": [ - "shift" + "optional": [ + "any" ] } }, "to": [ { - "key_code": "grave_accent_and_tilde", - "modifiers": [ - "shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "ESC를 `(grave accent)로 사용", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "com.parallels.desktop", - "com.parallels.vm", - "com.parallels.desktop.console", - "com.parallels.winapp.", - "com.microsoft.rdc.macos" - ], - "type": "frontmost_application_unless" - }, - { - "identifiers": [ - { - "vendor_id": 1452 - } - ], - "type": "device_unless" + "key_code": "escape" } ], - "from": { - "key_code": "escape" - }, - "to": { - "key_code": "grave_accent_and_tilde" - }, - "type": "basic" - } - ] - }, - { - "description": "Caps Lock+Shift을 Caps Lock으로 사용", - "manipulators": [ - { - "conditions": [ + "to_after_key_up": [ { - "bundle_identifiers": [ - "com.parallels.desktop", - "com.parallels.vm", - "com.parallels.desktop.console", - "com.parallels.winapp.", - "com.microsoft.rdc.macos" - ], - "type": "frontmost_application_unless" - }, - { - "identifiers": [ - { - "vendor_id": 1452 - } - ], - "type": "device_unless" + "select_input_source": { + "language": "en" + } } ], - "from": { - "key_code": "caps_lock", - "mandatory": [ - "shift" - ] - }, - "to": { - "key_code": "caps_lock" - }, - "type": "basic" - } - ] - }, - { - "description": "Ins(default: Page Up) 를 insert키로 사용", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "com.parallels.desktop", - "com.parallels.vm", - "com.parallels.desktop.console", - "com.parallels.winapp.", - "com.microsoft.rdc.macos" - ], - "type": "frontmost_application_unless" - }, - { - "identifiers": [ - { - "vendor_id": 1452 - } - ], - "type": "device_unless" - } - ], - "from": { - "key_code": "page_up" - }, - "to": { - "key_code": "insert" - }, - "type": "basic" - } - ] - }, - { - "description": "Del(default: Page Down) 를 delete키로 사용", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "com.parallels.desktop", - "com.parallels.vm", - "com.parallels.desktop.console", - "com.parallels.winapp.", - "com.microsoft.rdc.macos" - ], - "type": "frontmost_application_unless" - }, - { - "identifiers": [ - { - "vendor_id": 1452 - } - ], - "type": "device_unless" - } - ], - "from": { - "key_code": "page_down" - }, - "to": { - "key_code": "delete_forward" - }, "type": "basic" } ] @@ -828,20 +214,9 @@ { "disable_built_in_keyboard_if_exists": false, "fn_function_keys": [], + "game_pad_swap_sticks": false, "identifiers": { - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 34304, - "vendor_id": 1452 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "simple_modifications": [] - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { + "is_game_pad": false, "is_keyboard": true, "is_pointing_device": false, "product_id": 832, @@ -849,96 +224,58 @@ }, "ignore": false, "manipulate_caps_lock_led": true, - "simple_modifications": [ - { - "from": { - "key_code": "caps_lock" - }, - "to": [ - { - "key_code": "escape" - } - ] - } - ] - }, - { - "disable_built_in_keyboard_if_exists": true, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 64020, - "vendor_id": 9639 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "simple_modifications": [] - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": true, - "product_id": 16386, - "vendor_id": 1121 - }, - "ignore": true, - "manipulate_caps_lock_led": true, - "simple_modifications": [] - }, - { - "disable_built_in_keyboard_if_exists": true, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 16386, - "vendor_id": 1121 - }, - "ignore": false, - "manipulate_caps_lock_led": true, - "simple_modifications": [] + "mouse_flip_horizontal_wheel": false, + "mouse_flip_vertical_wheel": false, + "mouse_flip_x": false, + "mouse_flip_y": false, + "mouse_swap_wheels": false, + "mouse_swap_xy": false, + "simple_modifications": [], + "treat_as_built_in_keyboard": false }, { "disable_built_in_keyboard_if_exists": false, "fn_function_keys": [], + "game_pad_swap_sticks": false, "identifiers": { - "is_keyboard": true, + "is_game_pad": false, + "is_keyboard": false, "is_pointing_device": true, - "product_id": 45083, - "vendor_id": 1133 - }, - "ignore": true, - "manipulate_caps_lock_led": true, - "simple_modifications": [] - }, - { - "disable_built_in_keyboard_if_exists": false, - "fn_function_keys": [], - "identifiers": { - "is_keyboard": true, - "is_pointing_device": false, - "product_id": 50475, - "vendor_id": 1133 + "product_id": 832, + "vendor_id": 1452 }, "ignore": true, - "manipulate_caps_lock_led": true, - "simple_modifications": [] + "manipulate_caps_lock_led": false, + "mouse_flip_horizontal_wheel": false, + "mouse_flip_vertical_wheel": false, + "mouse_flip_x": false, + "mouse_flip_y": false, + "mouse_swap_wheels": false, + "mouse_swap_xy": false, + "simple_modifications": [], + "treat_as_built_in_keyboard": false }, { "disable_built_in_keyboard_if_exists": false, "fn_function_keys": [], + "game_pad_swap_sticks": false, "identifiers": { + "is_game_pad": false, "is_keyboard": true, "is_pointing_device": false, - "product_id": 64023, - "vendor_id": 9639 + "product_id": 34304, + "vendor_id": 1452 }, "ignore": false, "manipulate_caps_lock_led": true, - "simple_modifications": [] + "mouse_flip_horizontal_wheel": false, + "mouse_flip_vertical_wheel": false, + "mouse_flip_x": false, + "mouse_flip_y": false, + "mouse_swap_wheels": false, + "mouse_swap_xy": false, + "simple_modifications": [], + "treat_as_built_in_keyboard": false } ], "fn_function_keys": [ @@ -1068,7 +405,18 @@ "delay_milliseconds_before_open_device": 1000 }, "selected": true, - "simple_modifications": [], + "simple_modifications": [ + { + "from": { + "key_code": "caps_lock" + }, + "to": [ + { + "key_code": "escape" + } + ] + } + ], "virtual_hid_keyboard": { "country_code": 0, "indicate_sticky_modifier_keys_state": true, diff --git a/_karabiner/.config/karabiner/karabiner.json~ b/_karabiner/.config/karabiner/karabiner.json~ new file mode 100644 index 0000000..0c1d5a0 --- /dev/null +++ b/_karabiner/.config/karabiner/karabiner.json~ @@ -0,0 +1,1052 @@ +{ + "global": { + "check_for_updates_on_startup": true, + "show_in_menu_bar": false, + "show_profile_name_in_menu_bar": false + }, + "profiles": [ + { + "complex_modifications": { + "parameters": { + "basic.simultaneous_threshold_milliseconds": 50, + "basic.to_delayed_action_delay_milliseconds": 500, + "basic.to_if_alone_timeout_milliseconds": 1000, + "basic.to_if_held_down_threshold_milliseconds": 500, + "mouse_motion_to_scroll.speed": 100 + }, + "rules": [ + { + "description": "맥북키보드 R_Command를 한영키로 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_if" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_if" + } + ], + "from": { + "key_code": "right_command", + "modifiers": { + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "right_option" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_if" + } + ], + "from": { + "key_code": "right_command", + "modifiers": { + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "spacebar", + "modifiers": [ + "left_control", + "left_option" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "맥북키보드 R_Option을 한자/특수문자 키로 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos", + "com.google.Chrome" + ], + "type": "frontmost_application_if" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_if" + } + ], + "from": { + "key_code": "right_option", + "modifiers": { + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "right_control" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos", + "com.google.Chrome" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_if" + }, + { + "input_sources": [ + { + "language": "en" + } + ], + "type": "input_source_if" + } + ], + "from": { + "key_code": "right_option", + "modifiers": { + "optional": [ + "caps_lock" + ] + } + }, + "parameters": { + "basic.to_if_held_down_threshold_milliseconds": 300 + }, + "to": [ + { + "key_code": "right_option", + "lazy": true + } + ], + "to_if_held_down": [ + { + "key_code": "spacebar", + "modifiers": [ + "left_control", + "left_command" + ] + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos", + "com.google.Chrome" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_if" + }, + { + "input_sources": [ + { + "language": "ko" + } + ], + "type": "input_source_if" + } + ], + "from": { + "key_code": "right_option", + "modifiers": { + "optional": [ + "caps_lock" + ] + } + }, + "parameters": { + "basic.to_if_alone_timeout_milliseconds": 300, + "basic.to_if_held_down_threshold_milliseconds": 300 + }, + "to": [ + { + "key_code": "right_option", + "lazy": true + } + ], + "to_if_alone": [ + { + "key_code": "return_or_enter", + "modifiers": [ + "right_option" + ] + } + ], + "to_if_held_down": [ + { + "key_code": "spacebar", + "modifiers": [ + "left_control", + "left_command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Left_Alt to Left_Command 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "left_option", + "modifiers": { + "mandatory": [ + "any" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "left_command" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Left_Command to Left_Option 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "left_command", + "modifiers": { + "mandatory": [ + "any" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "left_option" + } + ], + "type": "basic" + } + ] + }, + { + "description": "윈도우 오른쪽 Alt를 한영전환으로 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_if" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "right_option", + "modifiers": { + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "right_option" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "right_option", + "modifiers": { + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "spacebar", + "modifiers": [ + "left_control", + "left_option" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "윈도우 오른쪽 컨트롤키를 특수문자/한자 키로 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "input_sources": [ + { + "language": "en" + } + ], + "type": "input_source_if" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "right_congrol", + "modifiers": { + "optional": [ + "caps_lock" + ] + } + }, + "parameters": { + "basic.to_if_held_down_threshold_milliseconds": 300 + }, + "to": [ + { + "key_code": "right_control", + "lazy": true + } + ], + "to_if_alone": [ + { + "key_code": "spacebar", + "modifiers": [ + "left_control", + "left_command" + ] + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "input_sources": [ + { + "language": "ko" + } + ], + "type": "input_source_if" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "right_control", + "modifiers": { + "optional": [ + "caps_lock" + ] + } + }, + "parameters": { + "basic.to_if_alone_timeout_milliseconds": 300, + "basic.to_if_held_down_threshold_milliseconds": 300 + }, + "to": [ + { + "key_code": "right_control", + "lazy": true + } + ], + "to_if_alone": [ + { + "key_code": "spacebar", + "modifiers": [ + "left_control", + "left_command" + ] + } + ], + "to_if_held_down": [ + { + "key_code": "return_or_enter", + "modifiers": [ + "right_option" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "PrtSc(default: delete키 위치)를 스크린샷/fn으로 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "delete_forward" + }, + "to_if_alone": [ + { + "key_code": "5", + "modifiers": [ + "left_shift", + "left_command" + ] + } + ], + "to_if_held_down": [ + { + "key_code": "fn" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Ins(default: Page Up) 를 insert키로 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "page_up", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "insert" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Caps Lock을 ESC로 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "caps_lock" + }, + "to": { + "key_code": "escape" + }, + "type": "basic" + } + ] + }, + { + "description": "ESC+Shift를 ~(tilde)로 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "escape", + "modifiers": { + "mandatory": [ + "shift" + ] + } + }, + "to": [ + { + "key_code": "grave_accent_and_tilde", + "modifiers": [ + "shift" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "ESC를 `(grave accent)로 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "escape" + }, + "to": { + "key_code": "grave_accent_and_tilde" + }, + "type": "basic" + } + ] + }, + { + "description": "Caps Lock+Shift을 Caps Lock으로 사용", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "com.parallels.desktop", + "com.parallels.vm", + "com.parallels.desktop.console", + "com.parallels.winapp.", + "com.microsoft.rdc.macos" + ], + "type": "frontmost_application_unless" + }, + { + "identifiers": [ + { + "vendor_id": 1452 + } + ], + "type": "device_unless" + } + ], + "from": { + "key_code": "caps_lock", + "mandatory": [ + "shift" + ] + }, + "to": { + "key_code": "caps_lock" + }, + "type": "basic" + } + ] + } + ] + }, + "devices": [ + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": true, + "is_pointing_device": false, + "product_id": 34304, + "vendor_id": 1452 + }, + "ignore": false, + "manipulate_caps_lock_led": true, + "simple_modifications": [] + }, + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": true, + "is_pointing_device": false, + "product_id": 832, + "vendor_id": 1452 + }, + "ignore": false, + "manipulate_caps_lock_led": true, + "simple_modifications": [ + { + "from": { + "key_code": "caps_lock" + }, + "to": [ + { + "key_code": "escape" + } + ] + } + ] + }, + { + "disable_built_in_keyboard_if_exists": true, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": true, + "is_pointing_device": false, + "product_id": 64020, + "vendor_id": 9639 + }, + "ignore": false, + "manipulate_caps_lock_led": true, + "simple_modifications": [] + }, + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": true, + "is_pointing_device": true, + "product_id": 16386, + "vendor_id": 1121 + }, + "ignore": true, + "manipulate_caps_lock_led": true, + "simple_modifications": [] + }, + { + "disable_built_in_keyboard_if_exists": true, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": true, + "is_pointing_device": false, + "product_id": 16386, + "vendor_id": 1121 + }, + "ignore": false, + "manipulate_caps_lock_led": true, + "simple_modifications": [] + }, + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": true, + "is_pointing_device": true, + "product_id": 45083, + "vendor_id": 1133 + }, + "ignore": true, + "manipulate_caps_lock_led": true, + "simple_modifications": [] + }, + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": true, + "is_pointing_device": false, + "product_id": 50475, + "vendor_id": 1133 + }, + "ignore": true, + "manipulate_caps_lock_led": true, + "simple_modifications": [] + }, + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": true, + "is_pointing_device": false, + "product_id": 64023, + "vendor_id": 9639 + }, + "ignore": false, + "manipulate_caps_lock_led": true, + "simple_modifications": [] + } + ], + "fn_function_keys": [ + { + "from": { + "key_code": "f1" + }, + "to": [ + { + "consumer_key_code": "display_brightness_decrement" + } + ] + }, + { + "from": { + "key_code": "f2" + }, + "to": [ + { + "consumer_key_code": "display_brightness_increment" + } + ] + }, + { + "from": { + "key_code": "f3" + }, + "to": [ + { + "key_code": "mission_control" + } + ] + }, + { + "from": { + "key_code": "f4" + }, + "to": [ + { + "key_code": "launchpad" + } + ] + }, + { + "from": { + "key_code": "f5" + }, + "to": [ + { + "key_code": "illumination_decrement" + } + ] + }, + { + "from": { + "key_code": "f6" + }, + "to": [ + { + "key_code": "illumination_increment" + } + ] + }, + { + "from": { + "key_code": "f7" + }, + "to": [ + { + "consumer_key_code": "rewind" + } + ] + }, + { + "from": { + "key_code": "f8" + }, + "to": [ + { + "consumer_key_code": "play_or_pause" + } + ] + }, + { + "from": { + "key_code": "f9" + }, + "to": [ + { + "consumer_key_code": "fastforward" + } + ] + }, + { + "from": { + "key_code": "f10" + }, + "to": [ + { + "consumer_key_code": "mute" + } + ] + }, + { + "from": { + "key_code": "f11" + }, + "to": [ + { + "consumer_key_code": "volume_decrement" + } + ] + }, + { + "from": { + "key_code": "f12" + }, + "to": [ + { + "consumer_key_code": "volume_increment" + } + ] + } + ], + "name": "Default profile", + "parameters": { + "delay_milliseconds_before_open_device": 1000 + }, + "selected": true, + "simple_modifications": [], + "virtual_hid_keyboard": { + "country_code": 0, + "indicate_sticky_modifier_keys_state": true, + "mouse_key_xy_scale": 100 + } + } + ] +} \ No newline at end of file