Skip to content

Instantly share code, notes, and snippets.

@NazarK
Forked from matsuoshi/browser.json
Created October 19, 2023 07:35
Show Gist options
  • Save NazarK/c3729a49c7a046e77650126ef2f5e20f to your computer and use it in GitHub Desktop.
Save NazarK/c3729a49c7a046e77650126ef2f5e20f to your computer and use it in GitHub Desktop.
karabiner-elements setting: F5 to CMD+R key (browser only) vi ~/.config/karabiner/assets/complex_modifications/browser.json
{
"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