These are my personal scripts for Karabiner-elements for macOS.
Complex scripts must be placed in ~/.config/karabiner/assets/complex_modifications/
folder.
Toggle layouts with: Left CMD (⌘) + Shift. This script toggle the layout between russian and english keyboard layouts. You need to install typography-layout before using. The scripts are using special id's only (see source code). Also see other methods of changing layout in _old folder.
Control mouse:
- pointer with right control (⌃) + arrow keys (hold left shift (⇧) to move faster)
- scroll with right control (⌃) + left option (⌥) + arrow keys.
- You need to enable Mouse Keys for this.
Remap caps_lock
to F13
if pressed alone or to control
if pressed and not released (for obtaining combinations like caps_lock+c → control+c, but saving «old» behaviour caps_lock → F13 or caps_lock+shift → F13+shift).
Remap control button (⌃) to command (⌘) (only when Parsec app in the foreground).