Initial attempt to implement macOS bindings
This commit is contained in:
commit
055b8c2708
36
macOS.yaml
Normal file
36
macOS.yaml
Normal file
@ -0,0 +1,36 @@
|
||||
---
|
||||
modmap:
|
||||
- name: non-terminal modmap
|
||||
application:
|
||||
not:
|
||||
- kitty
|
||||
- gnome-terminal-server
|
||||
remap:
|
||||
LeftAlt: LeftCtrl
|
||||
LeftCtrl: LeftAlt
|
||||
|
||||
keymap:
|
||||
- name: terminal remaps
|
||||
application:
|
||||
only:
|
||||
- kitty
|
||||
- gnome-terminal-server
|
||||
remap:
|
||||
Alt-C: Ctrl-Shift-C
|
||||
Alt-V: Ctrl-Shift-V
|
||||
|
||||
- name: non-terminal remaps
|
||||
application:
|
||||
not:
|
||||
- kitty
|
||||
- gnome-terminal-server
|
||||
remap:
|
||||
# TODO: This is the main flaw of swapping Ctrl and Alt as it makes
|
||||
# switching windows inconsistent and buggy.
|
||||
Ctrl-Tab: Alt-Tab
|
||||
|
||||
Ctrl-Shift-LeftBrace: Ctrl-PageUp
|
||||
Ctrl-Shift-RightBrace: Ctrl-PageDown
|
||||
|
||||
Ctrl-Alt-Shift-LeftBrace: Ctrl-Shift-PageUp
|
||||
Ctrl-Alt-Shift-RightBrace: Ctrl-Shift-PageDown
|
Loading…
x
Reference in New Issue
Block a user