Created
January 24, 2019 05:49
-
-
Save matsuoshi/37f222d34c4b5aaf3d1091b6e5501996 to your computer and use it in GitHub Desktop.
karabiner-elements setting: F5 to CMD+R key (browser only)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "title": "browser", | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.apple\\.Safari", | |
| "^com\\.google\\.Chrome", | |
| "^com\\.vivaldi\\.Vivaldi" | |
| ] | |
| } | |
| ], | |
| "rules": [ | |
| { | |
| "description": "F5 to reload", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "f5" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "r", | |
| "modifiers": ["command"] | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
right now, we should use this, it worked:
{ "description": "F5 to reload", "manipulators": [ { "type": "basic", "from": { "key_code": "f5" }, "to": [ { "key_code": "r", "modifiers": ["command"] } ] } ] }