macOS閿洏鏄犲皠

Posted 鏃犱负鑰屾眰

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了macOS閿洏鏄犲皠相关的知识,希望对你有一定的参考价值。


绯荤粺鏈夋椂鍊欓粯璁ょ殑鎸夐敭鍏跺疄鎸夎捣鏉ュ苟涓嶈垝鏈嶏紝鍥犳鎴戜滑闇€瑕佸閿洏杩涜閲嶆柊鏄犲皠锛宮acOS涓嬮潰鐨刱arabiner鍫О鏄槧灏勯敭绁炲櫒锛屾湁浜嗚繖涓垜浠彲浠ヨ倖鏃犲繉鎯湴杩涜鏄犲皠浜嗭紝鍝堝搱馃樅銆?/p>

karabiner

鎴戠敤karbabiner杩涜浜嗕笅闈㈢殑鏄犲皠

  • caps_lock 鈬?left_control

    濡傛灉鍗曠嫭鎸変笅锛岄偅涔堝氨鏄疎sc

    濡傛灉閰嶅悎鍒殑閿紝閭d箞灏辨槸鍘熸潵left_control鐨勫姛鑳?/p>

    鏄犲皠鎴愪簡left_control

  • left_control 鈬?caps_lock

    涓嶈繃杩欎釜鎸夐敭瀹炲湪鏄毦浠ュ寰楀埌锛屽洜姝よ繖涓敭鍩烘湰涓婁笉鐢紝涓嬮潰鐢ㄥ弻鍑籸ight_shift鍙樻垚浜嗗垏鎹㈠ぇ灏忓啓閿?/p>

  • right_shift

    濡傛灉鍙屽嚮锛岄偅涔堝氨鏄痗aps_lock鐨勫姛鑳?/p>

    濡傛灉閰嶅悎鍒殑閿紝閭d箞灏辨槸鍘熸潵right_shift鐨勫姛鑳?/p>

  • left_ctrl + i

    榛樿鐨勯€€鏍奸敭澶繙浜嗭紝鏄犲皠鎴戣繖閲岀敤left_ctrl + i鏉ュ疄鐜板悓鏍风殑鍔熻兘锛屾寜璧锋潵寰堥『鎵?/p>


鎼滅嫍杈撳叆娉?/span>

鎴戞妸鍒囨崲杈撳叆娉曠殑涓嫳鏂囩殑蹇嵎閿缃垚浜嗗彧鎸夊乏渚х殑shift锛屼篃灏辨槸left_shift锛岃繖鏍穜ight_shift绌轰笅鏉ユ槧灏勬垚"鍙屽嚮right_shift鍒囨崲CapLock"

{ "global": { "check_for_updates_on_startup": true, "show_in_menu_bar": true, "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": "Post escape if left_control is pressed alone.", "manipulators": [ { "from": { "key_code": "left_control", "modifiers": { "optional": [ "any" ] } }, "to": [ { "key_code": "left_control" } ], "to_if_alone": [ { "key_code": "escape" } ], "type": "basic" } ] }, { "description": "Left ctrl + i to delete or backspace", "manipulators": [ { "from": { "key_code": "i", "modifiers": { "mandatory": [ "left_control" ] } }, "to": [ { "key_code": "delete_or_backspace" } ], "type": "basic" } ] }, { "description": "鍙屽嚮鍙充晶鐨剆hift鏄犲皠鎴恈ap_lock", "manipulators": [ { "conditions": [ { "name": "right_shift pressed", "type": "variable_if", "value": 1 } ], "from": { "key_code": "right_shift", "modifiers": { "optional": [ "any" ] } }, "to": [ { "key_code": "caps_lock" } ], "type": "basic" }, { "from": { "key_code": "right_shift", "modifiers": { "optional": [ "any" ] } }, "to": [ { "set_variable": { "name": "right_shift pressed", "value": 1 } }, { "key_code": "right_shift" } ], "to_delayed_action": { "to_if_canceled": [ { "set_variable": { "name": "right_shift pressed", "value": 0 } } ], "to_if_invoked": [ { "set_variable": { "name": "right_shift pressed", "value": 0 } } ] }, "type": "basic" } ] } ] }, "devices": [], "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": "fast_forward" } }, { "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": "left_control" } }, { "from": { "key_code": "left_control" }, "to": { "key_code": "caps_lock" } } ], "virtual_hid_keyboard": { "country_code": 0, "mouse_key_xy_scale": 100 } } ]}


以上是关于macOS閿洏鏄犲皠的主要内容,如果未能解决你的问题,请参考以下文章

Zuul鐨勪娇鐢紝璺敱璁块棶鏄犲皠瑙勫垯

url鏄犲皠 ccf 锛圝ava姝e垯琛ㄨ揪寮忚В娉曪級

寮傚父鈥斺€攃md涓媕avac閿欒锛氱紪鐮丟BK涓嶅彲鏄犲皠瀛楃

ORM锛堝璞″叧绯绘槧灏勶級

閲嶆柊瀛︿範Mybatis(浜?