Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On my Mac I use Karabiner to map Caps + [key] to Ctrl, and a lone press to Esc. It's amazing.


I've done the same but Caps + key to Hyper (cmd+ctrl+option+shift), just to pair with custom shortcuts.

But I really love using it for escape. I'm on a 2014 model but not going to the corner for escape is great. Plus I'm about to get one of these new ones, and I feel prepared since I have zero usage of the top row (other than the special functions).


Wow, that's a great idea. I didn't realize it had support for that.


Yep. Every single thread about TouchBar complaints has this or a very similar comment and people. Spread the knowledge!


That sounds like a perfect setup! Mind sharing the modification rule?


I map it to Hyper, but you can tweak this to just be control:

    {
        "description": "Change caps_lock to hyper/escape.",
        "from": {
            "key_code": "caps_lock",
            "modifiers": {
                "optional": [
                    "any"
                ]
            }
        },
        "to": [
            {
                "key_code": "left_shift",
                "modifiers": [
                    "left_command",
                    "left_control",
                    "left_option"
                ]
            }
        ],
        "to_if_alone": [
            {
                "key_code": "escape"
            }
        ],
        "type": "basic"
    }


Oh that's neat, thanks for the tip.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: