ショートカットキーの割り当てをしていると4つの修飾キー(command、control、option、shift)をすべて使うことがありますが、同時に押すのはちょっと面倒でした。
それを解消するものが Karabiner-Elements にありました。
今回は
「Change caps_lock key to command+control+option+shift. (Use shift+caps_lock as caps_lock) 」
(caps_key を 4つの修飾キー 。shift + caps_lock を押せば caps_lock として使用)に設定してみます。
![](https://3dpinote.com/wp-content/uploads/2019/01/20190623_185831.png)
設定
Karabiner-Elementsを立ち上げます。
[Complex Modifications] を選択。
左下の [Add rule ] をクリック。
![](https://3dpinote.com/wp-content/uploads/2019/06/20190531_192200.png)
[Import more rules from the Internet (open a web browser)] をクリック。
![](https://3dpinote.com/wp-content/uploads/2019/06/20190531_192400-1024x630.png)
ブラウザが立ち上がり「Karabiner-Elements complex_modifications rules」が開きます。
「Table of Contents」の[Modifier Keys] をクリック。
![](https://3dpinote.com/wp-content/uploads/2019/06/20190531_215000-1024x590.png)
「Change caps_lock key (rev 4)」の[Import]をクリック。
![](https://3dpinote.com/wp-content/uploads/2019/06/20190623_134450-1024x514.png)
[Karabiner-Elements.app を開く] をクリック。
![](https://3dpinote.com/wp-content/uploads/2019/06/20190623_144350.png)
[Import] をクリック。
![](https://3dpinote.com/wp-content/uploads/2019/06/20190623_161337.png)
[OK] をクリック
![](https://3dpinote.com/wp-content/uploads/2019/06/20190623_172634-1.png)
「Import more rules from the Internet (open a web browser)」のウィンドウが開いて「Change Caps_lock key (rev 4) がインポートされたことが確認できます。
![](https://3dpinote.com/wp-content/uploads/2019/06/20190623_184558.png)
「Change caps_lock key to command+control+option+shift. (Use shift+caps_lock as caps_lock) 」の [Enable] をクリック。
(caps_key に command + control + option + shift に割り当てます。shift + caps_lock を押せば caps_lock として使用します。)
![](https://3dpinote.com/wp-content/uploads/2019/06/20190623_162600-1.png)
[Complex Modifications] に表示されたのでこれで使えるようになりました。
![](https://3dpinote.com/wp-content/uploads/2019/06/20190623_162012.png)