通過第三方軟件修改 MacOS 的鍵盤映射
由于文本編輯時(shí)大量使用word level的左移、右移,其中:
OSX的單詞級(jí)左右移為option + Left/Right Arrow,整行級(jí)左右移為command + Left/Right Arrow
單詞級(jí)移動(dòng)與進(jìn)行編輯常用的command不同鍵位,因此嘗試交換二者功能
-
由于 command 鍵在OSX下的其他重要作用,不方便直接將 option 與 command 進(jìn)行鍵位互換;需要考慮將組合鍵進(jìn)行替換,即:
- (單詞級(jí)移動(dòng))command + Left / Right Arrow 的功能與 option + Left/Right Arrow 替換
- (單詞級(jí)刪除)command + Left / Right Arrow 的功能與 option + Left/Right Arrow 替換
-
內(nèi)置的鍵盤快捷鍵映射修改只支持單鍵位交換,需要借助第三方工具:Karabiner-Elements
- Karabiner-Elements: site
- 腳本預(yù)設(shè):site
-
具體流程記錄
-
在官方網(wǎng)址下載 Karabiner-Elements 并完成安裝、按照提示在系統(tǒng)設(shè)置中設(shè)置權(quán)限
-
打開
Karabiner-Elements
,在左側(cè)側(cè)邊欄中選中Complex Modifications
-
點(diǎn)擊
Add rule
,并點(diǎn)擊Import more rules from the Internet
-
依次搜索并點(diǎn)擊對應(yīng)詞條右側(cè)的
Import
,并在喚醒的Karabiner-Elements
中點(diǎn)擊Import
# 單詞級(jí)移動(dòng) Exchange command + arrow keys with option + arrow keys
# 單詞級(jí)刪除 Exchange Command+Backward-Delete (delete current line)
-
點(diǎn)擊
Add rule
-
找到新添加的兩個(gè)規(guī)則,點(diǎn)擊
Enable
激活
-
-
-
最終
Karabiner-Elements
界面顯示如圖則成功替換文章來源:http://www.zghlxwxcb.cn/news/detail-486511.html
2023-06-12 karlzpsong文章來源地址http://www.zghlxwxcb.cn/news/detail-486511.html
到了這里,關(guān)于通過第三方軟件修改 MacOS 的鍵盤映射的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!