Skip to content

Instantly share code, notes, and snippets.

@ykpythemind
Created October 24, 2023 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ykpythemind/c1f9841f7d4c8994efd7997f520ff898 to your computer and use it in GitHub Desktop.
Save ykpythemind/c1f9841f7d4c8994efd7997f520ff898 to your computer and use it in GitHub Desktop.
Ctrl+p/Ctrl+n to arrow up/down (slack) using karabiner
"rules": [
{
"description": "Ctrl+p/Ctrl+n to arrow up/down (slack)",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": ["com.tinyspeck.slackmacgap"],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "p",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "up_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "n",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "down_arrow"
}
],
"type": "basic"
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment