mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
nvim qwerty
This commit is contained in:
parent
11fddbf8c0
commit
c102b36474
4 changed files with 119 additions and 58 deletions
|
|
@ -1123,6 +1123,79 @@
|
|||
"virtual_hid_keyboard": { "keyboard_type_v2": "ansi" }
|
||||
},
|
||||
{
|
||||
"complex_modifications": {
|
||||
"rules": [
|
||||
{
|
||||
"description": "Caps Lock: Ctrl in when coding, Cmd elsewhere, Esc when alone",
|
||||
"manipulators": [
|
||||
{
|
||||
"conditions": [
|
||||
{
|
||||
"bundle_identifiers": [
|
||||
"^com\\.apple\\.Terminal$",
|
||||
"^org\\.alacritty$",
|
||||
"^com\\.googlecode\\.iterm2$",
|
||||
"^com\\.github\\.wez\\.wezterm$",
|
||||
"^net\\.kovidgoyal\\.kitty$",
|
||||
"^com\\.mitchellh\\.ghostty$",
|
||||
"^com\\.neovide\\.neovide$",
|
||||
"^org\\.gnu\\.Emacs$",
|
||||
"^com\\.microsoft\\.VSCode$",
|
||||
"^com\\.jetbrains\\.rider$",
|
||||
"^com\\.jetbrains\\.pycharm$",
|
||||
"^com\\.jetbrains\\.intellij$",
|
||||
"^com\\.jetbrains\\.goland$",
|
||||
"^com\\.jetbrains\\.clion$",
|
||||
"^com\\.jetbrains\\.rustrover$",
|
||||
"^dev\\.zed\\.Zed$"
|
||||
],
|
||||
"type": "frontmost_application_if"
|
||||
}
|
||||
],
|
||||
"from": {
|
||||
"key_code": "caps_lock",
|
||||
"modifiers": { "optional": ["any"] }
|
||||
},
|
||||
"to": [{ "key_code": "left_control" }],
|
||||
"to_if_alone": [{ "key_code": "escape" }],
|
||||
"type": "basic"
|
||||
},
|
||||
{
|
||||
"conditions": [
|
||||
{
|
||||
"bundle_identifiers": [
|
||||
"^com\\.apple\\.Terminal$",
|
||||
"^org\\.alacritty$",
|
||||
"^com\\.googlecode\\.iterm2$",
|
||||
"^com\\.github\\.wez\\.wezterm$",
|
||||
"^net\\.kovidgoyal\\.kitty$",
|
||||
"^com\\.mitchellh\\.ghostty$",
|
||||
"^com\\.neovide\\.neovide$",
|
||||
"^org\\.gnu\\.Emacs$",
|
||||
"^com\\.microsoft\\.VSCode$",
|
||||
"^com\\.jetbrains\\.rider$",
|
||||
"^com\\.jetbrains\\.pycharm$",
|
||||
"^com\\.jetbrains\\.intellij$",
|
||||
"^com\\.jetbrains\\.goland$",
|
||||
"^com\\.jetbrains\\.clion$",
|
||||
"^com\\.jetbrains\\.rustrover$",
|
||||
"^dev\\.zed\\.Zed$"
|
||||
],
|
||||
"type": "frontmost_application_unless"
|
||||
}
|
||||
],
|
||||
"from": {
|
||||
"key_code": "caps_lock",
|
||||
"modifiers": { "optional": ["any"] }
|
||||
},
|
||||
"to": [{ "key_code": "left_command" }],
|
||||
"to_if_alone": [{ "key_code": "escape" }],
|
||||
"type": "basic"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": "New profile",
|
||||
"selected": true,
|
||||
"virtual_hid_keyboard": { "keyboard_type_v2": "ansi" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue