Help us understand the problem. What is going on with this article?

karabiner-Elementsを使ってshift + caps_lockで caps_lockを実現する方法 how to assign "shift + caps lock" to caps lock with karabiner-elements

More than 1 year has passed since last update.

Windowsのように、shift押しながらcaps_lockを押さないと効かないようにしたかったので
このようにしました。
自分の場合、まずcaps_lockに左commandを割り当てていますので、その前提でお読みください。

I want to assign "shift + caps lock" to caps lock like windows.
In my case, I assigned casp_lock to left_command.
This article is written based on it.

スクリーンショット 2018-04-09 12.48.48.png

以下のディレクトリに任意の名前でファイルを作成
In Karabiner-elements, you can put your config file in this directory.
at first, create json file in this directory.

/Users/[ユーザー名]/.config/karabiner/assets/complex_modifications

以下の内容をコピペ
create a file and copy and paste below.

{
  "title": "caps lock",
  "rules": [
    {
      "description": "caps lock with shift + caps lock",
      "manipulators": [
        { "type": "basic",
          "from": {
            "key_code": "left_command",
            "modifiers": {
              "mandatory": [ "left_shift" ],
              "optional": [ "any" ]
            }
          },
          "to": [
            {
              "key_code": "caps_lock"
            }
          ]
        }
      ]
    }
  ]
}

設定した項目が出てくるので、「Enable」を押下
The item that you set appears in Complex Modification.
After clicking "Enable", the setting will be active.
スクリーンショット 2018-04-09 12.46.18.png

参考:
Karabiner-Elementsの設定項目をまとめました @s-show
Karabiner-Elementの設定例について @s-show

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした