Skip to content

Instantly share code, notes, and snippets.

@jacobmischka
Created March 8, 2022 19:49
Show Gist options
  • Save jacobmischka/f87ff5bdd0dafac3155c29704e8ace8f to your computer and use it in GitHub Desktop.
Save jacobmischka/f87ff5bdd0dafac3155c29704e8ace8f to your computer and use it in GitHub Desktop.
Karabiner cmd+h to cmd+g in nvim-gtk
{
"title": "Cmd+h to Cmd+g in nvim-gtk",
"rules": [
{
"description": "Cmd+h to cmd+g in nvim-gtk",
"manipulators": [
{
"type": "basic",
"description": "",
"from": {
"key_code": "h",
"modifiers": {
"mandatory": [
"command"
]
}
},
"conditions": [
{
"type": "frontmost_application_if",
"description": "nvim-gtk",
"file_paths": [
"\\.*nvim-gtk\\.*"
]
}
],
"to": [
{
"repeat": false,
"modifiers": [
"left_gui"
],
"key_code": "g"
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment