{
"title": "Control+hjkl",
"rules": [
{
"description": "Change control+hjkl to arrow keys",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.googlecode\\.iterm2$",
"^com\\.neovide\\.neovide$",
"^com\\.github\\.wez\\.wezterm$",
"^dev\\.kevinmuka\\.neovim$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "h",
"modifiers": { "mandatory": ["control"] }
},
"to": [{ "key_code": "left_arrow" }],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.googlecode\\.iterm2$",
"^com\\.neovide\\.neovide$",
"^com\\.github\\.wez\\.wezterm$",
"^dev\\.kevinmuka\\.neovim$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "j",
"modifiers": { "mandatory": ["control"] }
},
"to": [{ "key_code": "down_arrow" }],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.googlecode\\.iterm2$",
"^com\\.neovide\\.neovide$",
"^com\\.github\\.wez\\.wezterm$",
"^dev\\.kevinmuka\\.neovim$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "k",
"modifiers": { "mandatory": ["control"] }
},
"to": [{ "key_code": "up_arrow" }],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.googlecode\\.iterm2$",
"^com\\.neovide\\.neovide$",
"^com\\.github\\.wez\\.wezterm$",
"^dev\\.kevinmuka\\.neovim$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "l",
"modifiers": { "mandatory": ["control"] }
},
"to": [{ "key_code": "right_arrow" }],
"type": "basic"
}
]
}
]
}
Explore the source / dotfiles
Inside dotfiles.
Shell, terminal, backup, and the configuration that joins them. Browse the current public files here, or visit the dotfiles repository on GitHub.