YAML Config

Human-Readable config format!

YAML usually have compact format and are more human readable when comparing to JSON

You can always compile yaml to json using

yq eval capslock.yml -j > capslock.json

Latest version: https://vonng.com/capslock.yml

Original

---
title: Capslock Enhancement
url: https://vonng.com/capslock.json
version: 3.0.3
maintainers: [ Vonng ]
author: Vonng(rh@vonng.com)
website: http://capslock.vonng.com
json_url: https://vonng.com/capslock.json
import_url: karabiner://karabiner/assets/complex_modifications/import?url=https://vonng.com/capslock.json
gallery_url: https://ke-complex-modifications.pqrs.org/#emulation-modes
repo: https://github.com/Vonng/Capslock


rules:

  ################################################################
  #                    Capslock to Esc/Hyper                     #
  ################################################################
  - description: CapsLock to Hyper
    manipulators:

      - description: 'capslock = esc(click) | hyper(hold)'
        type: basic
        from: { key_code: caps_lock ,modifiers: { optional: [ any ] } }
        to: [ { key_code: right_shift,modifiers: [ right_command,right_control,right_option ] } ]
        to_if_alone: [ { key_code: escape } ]

      - description: 'escape = capslock switch'
        type: basic
        from: { key_code: escape, modifiers: { optional: [ caps_lock ], mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: caps_lock , modifiers: [ left_control ] } ]

      - description: 'spacebar = language switch'
        type: basic
        from: { key_code: spacebar, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: spacebar , modifiers: [ left_control ] } ]

      - description: 'command + spacebar = emoji'
        type: basic
        from: { key_code: spacebar, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: spacebar , modifiers: [ left_control,left_command ] } ]


  ################################################################
  #                       Hyper Navigation                       #
  ################################################################
  - description: Hyper Navigation
    manipulators:

      #==========================================================#
      # ( h ) + ( ⌘⌥⇧⌃ )  -> ( left )                            #
      #==========================================================#
      # command: selection
      - description: 'command + h = shift + left'
        type: basic
        from: { key_code: h, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: left_arrow , modifiers: [ left_shift ] } ]

      # option + command: word selection
      - description: 'option + command + h = option + shift + left (select word ahead)'
        type: basic
        from: { key_code: h, modifiers: { mandatory: [ left_option,left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: left_arrow , modifiers: [ left_option, left_shift ] } ]

      # shift: tab/win management
      - description: 'shift + h = ctrl + shift + tab (prev tab)'
        type: basic
        from: { key_code: h, modifiers: { mandatory: [ left_shift ,right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: tab , modifiers: [ left_control , left_shift ] } ]

      # control: desktop management
      - description: 'control + h = ctrl + left (prev desktop)'
        type: basic
        from: { key_code: h, modifiers: { mandatory: [ left_control ,right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: left_arrow , modifiers: [ left_control ] } ]

      # option: mouse move
      - description: 'option + h = mouse left'
        type: basic
        from: { key_code: h, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: -1600 } } ]

      # shift + option: fast mouse move
      - description: 'shift + option + h = mouse left fast'
        type: basic
        from: { key_code: h, modifiers: { mandatory: [ left_shift,left_option,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: -3200 } } ]

      # shift + control: mouse wheel
      - description: 'shift + control + h = mouse wheel left'
        type: basic
        from: { key_code: h, modifiers: { mandatory: [ left_shift,left_control,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: 64 } } ]

      # shift + command: mouse wheel reverse
      - description: 'shift + command + h = mouse wheel left fast'
        type: basic
        from: { key_code: h, modifiers: { mandatory: [ left_shift,left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: 128 } } ]

      # normal: cursor move
      - description: ' h = left'
        type: basic
        from: { key_code: h, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: left_arrow } ]


      #==========================================================#
      # ( j ) + ( ⌘⌥⇧⌃ )  -> ( down )                            #
      #==========================================================#
      # command: selection
      - description: 'command + j = shift + down'
        type: basic
        from: { key_code: j, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: down_arrow , modifiers: [ left_shift ] } ]

      # option + command: line selection
      - description: 'option + command + j = option + shift + down (select para ahead)'
        type: basic
        from: { key_code: j, modifiers: { mandatory: [ left_option,left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: down_arrow , modifiers: [ left_shift ] }, { key_code: down_arrow , modifiers: [ left_shift ] },{ key_code: down_arrow , modifiers: [ left_shift ] } ]

      # shift: tab/win management
      - description: 'shift + j = command + tab (next application)'
        type: basic
        from: { key_code: j, modifiers: { mandatory: [ left_shift ,right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: tab , modifiers: [ left_command ] } ]

      # control: desktop management
      - description: 'control + j = ctrl + down (focus application)'
        type: basic
        from: { key_code: j, modifiers: { mandatory: [ left_control ,right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: down_arrow , modifiers: [ left_control ] } ]

      # option: mouse move
      - description: 'option + j = mouse down'
        type: basic
        from: { key_code: j, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { y: 1600 } } ]

      # shift + option: mouse move fast
      - description: 'shift + option + j = mouse down fast'
        type: basic
        from: { key_code: j, modifiers: { mandatory: [ left_shift,left_option,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { y: 3200 } } ]

      # shift + control: mouse wheel
      - description: 'shift + control + j = mouse wheel down'
        type: basic
        from: { key_code: j, modifiers: { mandatory: [ left_shift,left_control,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { vertical_wheel: 64 } } ]

      # shift + command: mouse wheel fast
      - description: 'shift + command + j = mouse wheel down fast'
        type: basic
        from: { key_code: j, modifiers: { mandatory: [ left_shift,left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { vertical_wheel: 128 } } ]

      # normal: cursor move
      - description: ' j = down'
        type: basic
        from: { key_code: j, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: down_arrow } ]


      #==========================================================#
      # ( k ) + ( ⌘⌥⇧⌃ )  -> ( up )                            #
      #==========================================================#
      # command: selection
      - description: 'command + k = shift + up'
        type: basic
        from: { key_code: k, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: up_arrow , modifiers: [ left_shift ] } ]

      # option + command: line selection
      - description: 'option + command + k = option + shift + up (select line above)'
        type: basic
        from: { key_code: k, modifiers: { mandatory: [ left_option,left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: up_arrow , modifiers: [ left_shift ] }, { key_code: up_arrow , modifiers: [ left_shift ] },{ key_code: up_arrow , modifiers: [ left_shift ] } ]

      # shift: tab/win management
      - description: 'shift + k = command + tab (prev application)'
        type: basic
        from: { key_code: k, modifiers: { mandatory: [ left_shift ,right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: tab , modifiers: [ left_command, left_shift ] } ]

      # control: desktop management
      - description: 'control + k = ctrl + up (expose all)'
        type: basic
        from: { key_code: k, modifiers: { mandatory: [ left_control ,right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: up_arrow , modifiers: [ left_control ] } ]

      # option: mouse move
      - description: 'option + k = mouse up'
        type: basic
        from: { key_code: k, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { y: -1600 } } ]

      # shift + option: mouse move fast
      - description: 'shift + option + k = mouse up fast'
        type: basic
        from: { key_code: k, modifiers: { mandatory: [ left_shift,left_option,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { y: -3200 } } ]

      # shift + control: mouse wheel
      - description: 'shift + control + k = mouse wheel up'
        type: basic
        from: { key_code: k, modifiers: { mandatory: [ left_shift,left_control,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { vertical_wheel: -64 } } ]

      # shift + command: mouse wheel reverse
      - description: 'shift + command + k = mouse wheel up fast'
        type: basic
        from: { key_code: k, modifiers: { mandatory: [ left_shift,left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { vertical_wheel: -128 } } ]

      # normal: cursor move
      - description: ' k = up'
        type: basic
        from: { key_code: k, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: up_arrow } ]


      #==========================================================#
      # ( l ) + ( ⌘⌥⇧⌃ )  -> ( right )                            #
      #==========================================================#
      # command: selection
      - description: 'command + l = shift + right'
        type: basic
        from: { key_code: l, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: right_arrow , modifiers: [ left_shift ] } ]

      # option + command: word selection
      - description: 'option + command + l = option + shift + right (select word after)'
        type: basic
        from: { key_code: l, modifiers: { mandatory: [ left_option,left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: right_arrow , modifiers: [ left_shift,left_option ] } ]

      # shift: tab/win management
      - description: 'shift + l = command + tab (next tab)'
        type: basic
        from: { key_code: l, modifiers: { mandatory: [ left_shift ,right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: tab , modifiers: [ left_control ] } ]

      # control: desktop management
      - description: 'control + l = ctrl + right (next desktop)'
        type: basic
        from: { key_code: l, modifiers: { mandatory: [ left_control ,right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: right_arrow , modifiers: [ left_control ] } ]

      # option: mouse move
      - description: 'option + l = mouse move right'
        type: basic
        from: { key_code: l, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: 1600 } } ]

      # shift + option: mouse move fast
      - description: 'shift + option + l = mouse move right fast'
        type: basic
        from: { key_code: l, modifiers: { mandatory: [ left_shift,left_option,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: 3200 } } ]

      # shift + control: mouse wheel
      - description: 'shift + control + l = mouse wheel right'
        type: basic
        from: { key_code: l, modifiers: { mandatory: [ left_shift,left_control,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: -64 } } ]

      # shift + command: mouse wheel fast
      - description: 'shift + command + l = mouse wheel right fast'
        type: basic
        from: { key_code: l, modifiers: { mandatory: [ left_shift,left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: -128 } } ]

      # normal: cursor move
      - description: ' l = right'
        type: basic
        from: { key_code: l, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: right_arrow } ]



      #==========================================================#
      # ( u ) + ( ⌘⌥⇧⌃ )  -> ( PageUp )                          #
      #==========================================================#
      # command: selection
      - description: 'command + u = shift + page_up'
        type: basic
        from: { key_code: u, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: page_up , modifiers: [ left_shift ] } ]

      # option + command: page selection
      - description: 'option + command + u = shift + page_up'
        type: basic
        from: { key_code: u, modifiers: { mandatory: [ left_option,left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: page_up , modifiers: [ left_shift ] } ]

      # shift: tab/win management (TODO: require manual setup)
      - description: 'shift + u = option + command + hyphen (zoom out)'
        type: basic
        from: { key_code: u, modifiers: { mandatory: [ left_shift ,right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: hyphen , modifiers: [ left_command,left_option ] } ]

      # control: desktop management
      - description: 'control + u = ctrl + command + f (fullscreen)'
        type: basic
        from: { key_code: u, modifiers: { mandatory: [ left_control ,right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: f , modifiers: [ left_control,left_command ] } ]

      # option: mouse left click
      - description: 'option + u = mouse left click'
        type: basic
        from: { key_code: u, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { pointing_button: button1 } ]

      # shift + option: mouse left click
      - description: 'shift + option + u = mouse left click'
        type: basic
        from: { key_code: u, modifiers: { mandatory: [ left_shift,left_option,  right_command,right_control,right_shift,right_option ] } }
        to: [ { pointing_button: button1 } ]

      # shift + control: mouse wheel
      - description: 'shift + control + u = mouse wheel left (rev)'
        type: basic
        from: { key_code: u, modifiers: { mandatory: [ left_shift,left_control,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: -64 } } ]

      # shift + command: mouse wheel fast
      - description: 'shift + command + u = mouse wheel left (rev) fast'
        type: basic
        from: { key_code: u, modifiers: { mandatory: [ left_shift,left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: -128 } } ]

      # normal: cursor move
      - description: ' u = page_up'
        type: basic
        from: { key_code: u, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: page_up } ]



      #==========================================================#
      # ( i ) + ( ⌘⌥⇧⌃ )  -> ( PageUp )                          #
      #==========================================================#
      # command: selection
      - description: 'command + i = shift + home'
        type: basic
        from: { key_code: i, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: home , modifiers: [ left_shift ] } ]

      # option + command: line selection
      - description: 'option + command + i = select whole line to head'
        type: basic
        from: { key_code: i, modifiers: { mandatory: [ left_option,left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: end },{ key_code: home , modifiers: [ left_shift ] },{ key_code: home , modifiers: [ left_shift ] } ]

      # shift: tab/win management (TODO: require manual setup)
      - description: 'shift + i = command + shift + ` (prev window within app)'
        type: basic
        from: { key_code: i, modifiers: { mandatory: [ left_shift ,right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: grave_accent_and_tilde , modifiers: [ left_command,left_shift ] } ]

      # control: desktop management
      - description: 'control + i = command + h (hide current window)'
        type: basic
        from: { key_code: i, modifiers: { mandatory: [ left_control ,right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: h , modifiers: [ left_command ] } ]

      # option: mouse right click
      - description: 'option + i = mouse right click'
        type: basic
        from: { key_code: i, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { pointing_button: button2 } ]

      # shift + option: mouse right click
      - description: 'shift + option + i = mouse move down fast'
        type: basic
        from: { key_code: i, modifiers: { mandatory: [ left_shift,left_option,  right_command,right_control,right_shift,right_option ] } }
        to: [ { pointing_button: button2 } ]

      # shift + control: mouse wheel reverse
      - description: 'shift + control + i = mouse wheel down (rev)'
        type: basic
        from: { key_code: i, modifiers: { mandatory: [ left_shift,left_control,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { vertical_wheel: -64 } } ]

      # shift + command: mouse wheel reverse fast
      - description: 'shift + command + i = mouse wheel down (rev) fast'
        type: basic
        from: { key_code: i, modifiers: { mandatory: [ left_shift,left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { vertical_wheel: -128 } } ]

      # normal: cursor move
      - description: ' i = home'
        type: basic
        from: { key_code: i, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: home } ]


      #==========================================================#
      # ( o ) + ( ⌘⌥⇧⌃ )  -> ( PageUp )                          #
      #==========================================================#
      # command: selection
      - description: 'command + o = shift + end'
        type: basic
        from: { key_code: o, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: end , modifiers: [ left_shift ] } ]

      # option + command: line selection
      - description: 'option + command + o = select whole'
        type: basic
        from: { key_code: o, modifiers: { mandatory: [ left_option,left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: home },{ key_code: end , modifiers: [ left_shift ] } ]

      # shift: tab/win management (TODO: require manual setup)
      - description: 'shift + o = command ` (next window within app)'
        type: basic
        from: { key_code: o, modifiers: { mandatory: [ left_shift ,right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: grave_accent_and_tilde , modifiers: [ left_command ] } ]

      # control: desktop management
      - description: 'control + o = option + command + h (expose all)'
        type: basic
        from: { key_code: o, modifiers: { mandatory: [ left_control ,right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: up_arrow , modifiers: [ left_control ] } ]

      # option: mouse backward
      - description: 'option + o = mouse backward'
        type: basic
        from: { key_code: o, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { pointing_button: button4 } ]

      # shift + option: mouse backward
      - description: 'shift + option + o = mouse backward'
        type: basic
        from: { key_code: o, modifiers: { mandatory: [ left_shift,left_option,  right_command,right_control,right_shift,right_option ] } }
        to: [ { pointing_button: button4 } ]

      # shift + control: mouse wheel
      - description: 'shift + control + o = mouse wheel up (rev)'
        type: basic
        from: { key_code: o, modifiers: { mandatory: [ left_shift,left_control,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { vertical_wheel: 64 } } ]

      # shift + command: mouse wheel reverse
      - description: 'shift + command + o = mouse wheel up (rev) fast'
        type: basic
        from: { key_code: o, modifiers: { mandatory: [ left_shift,left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { vertical_wheel: 128 } } ]

      # normal: cursor move
      - description: ' o = end'
        type: basic
        from: { key_code: o, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: end } ]


      #==========================================================#
      # ( p ) + ( ⌘⌥⇧⌃ )  -> ( PageUp )                          #
      #==========================================================#
      # command: selection
      - description: 'command + p = shift + page_down'
        type: basic
        from: { key_code: p, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: page_down , modifiers: [ left_shift ] } ]

      # option + command: word/para selection
      - description: 'option + command + p = shift + page_down'
        type: basic
        from: { key_code: p, modifiers: { mandatory: [ left_option,left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: page_down , modifiers: [ left_shift ] } ]

      # shift: tab/win management (TODO: require manual setup)
      - description: 'shift + p = option + command + equal_sign (zoom in)'
        type: basic
        from: { key_code: p, modifiers: { mandatory: [ left_shift ,right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: equal_sign , modifiers: [ left_command,left_option ] } ]

      # control: desktop management
      - description: 'control + p = LaunchPad'
        type: basic
        from: { key_code: p, modifiers: { mandatory: [ left_control ,right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: open -a 'Launchpad' } ]

      # option: mouse forward
      - description: 'option + p = mouse forward'
        type: basic
        from: { key_code: p, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { pointing_button: button5 } ]

      # shift + option: mouse forward
      - description: 'shift + option + p = mouse forward'
        type: basic
        from: { key_code: p, modifiers: { mandatory: [ left_shift,left_option,  right_command,right_control,right_shift,right_option ] } }
        to: [ { pointing_button: button5 } ]

      # shift + control: mouse wheel reverse
      - description: 'shift + control + p = mouse wheel right (rev)'
        type: basic
        from: { key_code: p, modifiers: { mandatory: [ left_shift,left_control,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: 64 } } ]

      # shift + command: mouse wheel reverse fast
      - description: 'shift + command + p = mouse wheel right (rev) fast'
        type: basic
        from: { key_code: p, modifiers: { mandatory: [ left_shift,left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: 128 } } ]

      # normal: cursor move
      - description: ' p = page_down'
        type: basic
        from: { key_code: p, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: page_down } ]


      ################################################################
      #                     Cursor Navigation                        #
      ################################################################

      #==========================================================#
      # ( ↩ Enter ) + ( ⌘⌥⇧⌃ ) -> ( Mouse Buttons )              #
      #==========================================================#
      - description: 'control + shift + enter = button1 (mouse left click)'
        type: basic
        from: { key_code: return_or_enter, modifiers: { mandatory: [ left_control,left_shift,  right_command,right_control,right_shift,right_option ] } }
        to: [ { pointing_button: button1 } ]

      - description: 'enter = button1 (mouse left click)'
        type: basic
        from: { key_code: return_or_enter, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { pointing_button: button1 } ]

      - description: 'command + enter = button2 (mouse right click)'
        type: basic
        from: { key_code: return_or_enter, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { pointing_button: button2 } ]

      - description: 'option + enter = button3 (mouse middle click)'
        type: basic
        from: { key_code: return_or_enter, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { pointing_button: button3 } ]

      - description: 'shift + enter = button4 (mouse back)'
        type: basic
        from: { key_code: return_or_enter, modifiers: { mandatory: [ left_shift, right_command,right_control,right_shift,right_option ] } }
        to: [ { pointing_button: button4 } ]

      - description: 'control + enter = button5 (mouse forward)'
        type: basic
        from: { key_code: return_or_enter, modifiers: { mandatory: [ left_control, right_command,right_control,right_shift,right_option ] } }
        to: [ { pointing_button: button5 } ]

      #==========================================================#
      # mouse wheel (shift)                                      #
      #==========================================================#
      - description: 'shift + up arrow = mouse wheel up'
        type: basic
        from: { key_code: up_arrow, modifiers: { mandatory: [ left_shift, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { vertical_wheel: -64 } } ]

      - description: 'shift + down arrow = mouse wheel down'
        type: basic
        from: { key_code: down_arrow, modifiers: { mandatory: [ left_shift, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { vertical_wheel: 64 } } ]

      - description: 'shift + left arrow = mouse wheel left'
        type: basic
        from: { key_code: left_arrow, modifiers: { mandatory: [ left_shift, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: 64 } } ]

      - description: 'shift + right arrow = mouse wheel right'
        type: basic
        from: { key_code: right_arrow, modifiers: { mandatory: [ left_shift, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: -64 } } ]

      #==========================================================#
      # slow mouse wheel  (shift + option)                       #
      #==========================================================#
      - description: 'shift + option + up arrow = mouse wheel up slow'
        type: basic
        from: { key_code: up_arrow, modifiers: { mandatory: [ left_shift,left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { vertical_wheel: -32 } } ]

      - description: 'shift + option + down arrow = mouse wheel down slow'
        type: basic
        from: { key_code: down_arrow, modifiers: { mandatory: [ left_shift,left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { vertical_wheel: 32 } } ]

      - description: 'shift + option + left arrow = mouse wheel left slow'
        type: basic
        from: { key_code: left_arrow, modifiers: { mandatory: [ left_shift,left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: 32 } } ]

      - description: 'shift + option + right arrow = mouse wheel right slow'
        type: basic
        from: { key_code: right_arrow, modifiers: { mandatory: [ left_shift,left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: -32 } } ]

      #==========================================================#
      # fast mouse wheel (shift + command)                       #
      #==========================================================#
      - description: 'shift + command + up arrow = mouse wheel up fast'
        type: basic
        from: { key_code: up_arrow, modifiers: { mandatory: [ left_shift,left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { vertical_wheel: 256 } } ]

      - description: 'shift + command + down arrow = mouse wheel down fast'
        type: basic
        from: { key_code: down_arrow, modifiers: { mandatory: [ left_shift,left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { vertical_wheel: -256 } } ]

      - description: 'shift + command + left arrow = mouse wheel left fast'
        type: basic
        from: { key_code: left_arrow, modifiers: { mandatory: [ left_shift,left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: 256 } } ]

      - description: 'shift + command + right arrow = mouse wheel right fast'
        type: basic
        from: { key_code: right_arrow, modifiers: { mandatory: [ left_shift,left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: -256 } } ]

      #==========================================================#
      # slow mouse move (option)                                 #
      #==========================================================#
      - description: 'option + up arrow = mouse up slow'
        type: basic
        from: { key_code: up_arrow, modifiers: { mandatory: [ left_option,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { y: -800 } } ]

      - description: 'option + down arrow = mouse down slow'
        type: basic
        from: { key_code: down_arrow, modifiers: { mandatory: [ left_option,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { y: 800 } } ]

      - description: 'option + left arrow = mouse left slow'
        type: basic
        from: { key_code: left_arrow, modifiers: { mandatory: [ left_option,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: -800 } } ]

      - description: 'option + right arrow = mouse right slow'
        type: basic
        from: { key_code: right_arrow, modifiers: { mandatory: [ left_option,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: +800 } } ]

      #==========================================================#
      # fast mouse move                                          #
      #==========================================================#
      - description: 'command + up arrow = mouse up fast'
        type: basic
        from: { key_code: up_arrow, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { y: -4200 } } ]

      - description: 'command + down arrow = mouse down fast'
        type: basic
        from: { key_code: down_arrow, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { y: 4200 } } ]

      - description: 'command + left arrow = mouse left fast'
        type: basic
        from: { key_code: left_arrow, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: -4200 } } ]

      - description: 'command + right arrow = mouse right fast'
        type: basic
        from: { key_code: right_arrow, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: +4200 } } ]


      #==========================================================#
      # normal mouse move                                        #
      #==========================================================#
      - description: 'up arrow = mouse up'
        type: basic
        from: { key_code: up_arrow, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { y: -1600 } } ]

      - description: 'down arrow = mouse down'
        type: basic
        from: { key_code: down_arrow, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { y: 1600 } } ]

      - description: 'left arrow = mouse left'
        type: basic
        from: { key_code: left_arrow, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: -1600 } } ]

      - description: 'right arrow = mouse right'
        type: basic
        from: { key_code: right_arrow, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: +1600 } } ]



  ################################################################
  #                       Hyper Deletion                         #
  ################################################################
  - description: Hyper Deletion
    manipulators:

      # + option = delete whole line / move line up /down
      - description: 'option + n = delete whole line'
        type: basic
        from: { key_code: n, modifiers: { mandatory: [ left_option,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: delete_or_backspace, modifiers: [ left_command ] } ]

      - description: 'option + m = move line down'
        type: basic
        from: { key_code: m, modifiers: { mandatory: [ left_option,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: down_arrow, modifiers: [ left_option, left_shift ] } ]

      - description: 'option + , = move line up'
        type: basic
        from: { key_code: comma, modifiers: { mandatory: [ left_option,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: up_arrow, modifiers: [ left_option, left_shift ] } ]

      - description: 'option + . = delete whole line'
        type: basic
        from: { key_code: period, modifiers: { mandatory: [ left_option,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: delete_or_backspace, modifiers: [ left_command ] } ]

      # + command = delete line
      - description: 'command + n = delete whole line'
        type: basic
        from: { key_code: n, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: left_arrow, modifiers: [ left_shift,left_command ] } , { key_code: delete_or_backspace } ]

      - description: 'command + m = delete word ahead'
        type: basic
        from: { key_code: m, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: delete_or_backspace, modifiers: [ left_option ] } ]

      - description: 'command + , = delete word after'
        type: basic
        from: { key_code: comma, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: delete_forward, modifiers: [ left_option ] } ]

      - description: 'command + . = delete whole line'
        type: basic
        from: { key_code: period, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: right_arrow, modifiers: [ left_shift,left_command ] } , { key_code: delete_or_backspace } ]

      # delete char and word
      - description: 'n = delete a word ahead'
        type: basic
        from: { key_code: n, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: delete_or_backspace, modifiers: [ left_option ] } ]

      - description: 'm = delete a char ahead'
        type: basic
        from: { key_code: m, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: delete_or_backspace } ]

      - description: ', = delete a char after'
        type: basic
        from: { key_code: comma, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: delete_forward } ]

      - description: '. = delete a word after'
        type: basic
        from: { key_code: period, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: delete_forward, modifiers: [ left_option ] } ]




  ################################################################
  #                        Hyper MouseKey                        #
  ################################################################
  - description: Hyper MouseKey
    manipulators:

      #==========================================================#
      # ( keypad 0.⌤-+ )  -> ( mouse buttons )                   #
      #==========================================================#
      # 0.enter+- to mouse buttons
      - description: 'keypad0 = mouse left click'
        type: basic
        from: { key_code: keypad_0, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ], optional: [ left_shift, left_command, left_option, left_control ] } }
        to: [ { pointing_button: button1 } ]

      - description: 'keypad_enter = mouse right click'
        type: basic
        from: { key_code: keypad_enter, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ], optional: [ left_shift, left_command, left_option, left_control ] } }
        to: [ { pointing_button: button2 } ]

      - description: 'keypad. = mouse middle click'
        type: basic
        from: { key_code: keypad_period ,modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] , optional: [ left_shift, left_command, left_option, left_control ] } }
        to: [ { pointing_button: button3 } ]

      - description: 'keypad+ = mouse button 5 forward'
        type: basic
        from: { key_code: keypad_plus , modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] , optional: [ left_shift, left_command, left_option, left_control ] } }
        to: [ { pointing_button: button5 } ]

      - description: 'keypad- = mouse button 4 back'
        type: basic
        from: { key_code: keypad_hyphen ,modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] , optional: [ left_shift, left_command, left_option, left_control ] } }
        to: [ { pointing_button: button4 } ]


      #==========================================================#
      # ( numlock=/* )   ->  ( mouse wheel )                     #
      #==========================================================#
      - description: 'keypad_num_lock = mouse wheel left'
        type: basic
        from: { key_code: keypad_num_lock, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: -32 } } ]

      - description: 'keypad_equal_sign = slow mouse wheel down'
        type: basic
        from: { key_code: keypad_equal_sign, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { vertical_wheel: 32 } } ]

      - description: 'keypad_slash = slow mouse wheel up'
        type: basic
        from: { key_code: keypad_slash, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { vertical_wheel: -32 } } ]

      - description: 'keypad_asterisk = mouse wheel right'
        type: basic
        from: { key_code: keypad_asterisk, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: 32 } } ]


      #==========================================================#
      # mouse wheel (shift)                                      #
      #==========================================================#
      - description: 'shift + 1 = wheel ↙️'
        type: basic
        from: { key_code: keypad_1, modifiers: { mandatory: [ left_shift, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: 45, vertical_wheel: 45 } } ]

      - description: 'shift + 2 = wheel ⬇️️'
        type: basic
        from: { key_code: keypad_2, modifiers: { mandatory: [ left_shift, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { vertical_wheel: 64 } } ]

      - description: 'shift + 3 = wheel ↘️️️'
        type: basic
        from: { key_code: keypad_3, modifiers: { mandatory: [ left_shift, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: -45, vertical_wheel: 45 } } ]

      - description: 'shift + 4 = wheel ⬅️'
        type: basic
        from: { key_code: keypad_4, modifiers: { mandatory: [ left_shift, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: 64 } } ]

      - description: 'shift + 5 = wheel ·'
        type: basic
        from: { key_code: keypad_5, modifiers: { mandatory: [ left_shift, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: 0, vertical_wheel: 0 } } ]

      - description: 'shift + 6 = wheel ➡️'
        type: basic
        from: { key_code: keypad_6, modifiers: { mandatory: [ left_shift, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: -64 } } ]

      - description: 'shift + 7 = wheel ↖️'
        type: basic
        from: { key_code: keypad_7, modifiers: { mandatory: [ left_shift, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: 45, vertical_wheel: -45 } } ]

      - description: 'shift + 8 = wheel ⬆️'
        type: basic
        from: { key_code: keypad_8, modifiers: { mandatory: [ left_shift, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { vertical_wheel: -64 } } ]

      - description: 'shift + 9 = wheel ↗️️'
        type: basic
        from: { key_code: keypad_9, modifiers: { mandatory: [ left_shift, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: -45, vertical_wheel: -45 } } ]


      #==========================================================#
      # slow mouse wheel  (shift + option)                       #
      #==========================================================#
      - description: 'shift + option + 1 = wheel ↙️'
        type: basic
        from: { key_code: keypad_1, modifiers: { mandatory: [ left_shift,left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: 23, vertical_wheel: 23 } } ]

      - description: 'shift + option + 2 = wheel ⬇️️'
        type: basic
        from: { key_code: keypad_2, modifiers: { mandatory: [ left_shift,left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { vertical_wheel: 32 } } ]

      - description: 'shift + option + 3 = wheel ↘️️️'
        type: basic
        from: { key_code: keypad_3, modifiers: { mandatory: [ left_shift,left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: -23, vertical_wheel: 23 } } ]

      - description: 'shift + option + 4 = wheel ⬅️'
        type: basic
        from: { key_code: keypad_4, modifiers: { mandatory: [ left_shift,left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: 32 } } ]

      - description: 'shift + option + 5 = wheel ·'
        type: basic
        from: { key_code: keypad_5, modifiers: { mandatory: [ left_shift,left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: 0, vertical_wheel: 0 } } ]

      - description: 'shift + option + 6 = wheel ➡️'
        type: basic
        from: { key_code: keypad_6, modifiers: { mandatory: [ left_shift,left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: -32 } } ]

      - description: 'shift + option + 7 = wheel ↖️'
        type: basic
        from: { key_code: keypad_7, modifiers: { mandatory: [ left_shift,left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: 23, vertical_wheel: -23 } } ]

      - description: 'shift + option + 8 = wheel ⬆️'
        type: basic
        from: { key_code: keypad_8, modifiers: { mandatory: [ left_shift,left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { vertical_wheel: -32 } } ]

      - description: 'shift + option + 9 = wheel ↗️️'
        type: basic
        from: { key_code: keypad_9, modifiers: { mandatory: [ left_shift,left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: -23, vertical_wheel: -23 } } ]


      #==========================================================#
      # fast mouse wheel (shift + command)                       #
      #==========================================================#
      - description: 'shift + command + 1 = wheel ↙️'
        type: basic
        from: { key_code: keypad_1, modifiers: { mandatory: [ left_shift,left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: 91, vertical_wheel: 91 } } ]

      - description: 'shift + command + 2 = wheel ⬇️️'
        type: basic
        from: { key_code: keypad_2, modifiers: { mandatory: [ left_shift,left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { vertical_wheel: 128 } } ]

      - description: 'shift + command + 3 = wheel ↘️️️'
        type: basic
        from: { key_code: keypad_3, modifiers: { mandatory: [ left_shift,left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: -91, vertical_wheel: 91 } } ]

      - description: 'shift + command + 4 = wheel ⬅️'
        type: basic
        from: { key_code: keypad_4, modifiers: { mandatory: [ left_shift,left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: 128 } } ]

      - description: 'shift + command + 5 = wheel ·'
        type: basic
        from: { key_code: keypad_5, modifiers: { mandatory: [ left_shift,left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: 0, vertical_wheel: 0 } } ]

      - description: 'shift + command + 6 = wheel ➡️'
        type: basic
        from: { key_code: keypad_6, modifiers: { mandatory: [ left_shift,left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: -128 } } ]

      - description: 'shift + command + 7 = wheel ↖️'
        type: basic
        from: { key_code: keypad_7, modifiers: { mandatory: [ left_shift,left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: 91, vertical_wheel: -91 } } ]

      - description: 'shift + command + 8 = wheel ⬆️'
        type: basic
        from: { key_code: keypad_8, modifiers: { mandatory: [ left_shift,left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { vertical_wheel: -128 } } ]

      - description: 'shift + command + 9 = wheel ↗️️'
        type: basic
        from: { key_code: keypad_9, modifiers: { mandatory: [ left_shift,left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { horizontal_wheel: -91, vertical_wheel: -91 } } ]



      #==========================================================#
      # slow mouse move (option)                                 #
      #==========================================================#
      - description: 'option + 1 = ↙️ slow'
        type: basic
        from: { key_code: keypad_1, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: -561, y: 561 } } ]

      - description: 'option + 2 = ⬇️️ slow'
        type: basic
        from: { key_code: keypad_2, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { y: 800 } } ]

      - description: 'option + 3 = ↘️️️ slow'
        type: basic
        from: { key_code: keypad_3, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: 561, y: 561 } } ]

      - description: 'option + 4 = ⬅️ slow'
        type: basic
        from: { key_code: keypad_4, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: -800 } } ]

      - description: 'option + 5 = · slow'
        type: basic
        from: { key_code: keypad_5, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: 0, y: 0 } } ]

      - description: 'option + 6 = ➡️ slow'
        type: basic
        from: { key_code: keypad_6, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: 800 } } ]

      - description: 'option + 7 = ↖️ slow'
        type: basic
        from: { key_code: keypad_7, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: -561, y: -561 } } ]

      - description: 'option + 8 = ⬆️ slow'
        type: basic
        from: { key_code: keypad_8, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { y: -800 } } ]

      - description: 'option + 9 = ↗️️ slow'
        type: basic
        from: { key_code: keypad_9, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: 561, y: -561 } } ]


      #==========================================================#
      # fast mouse move (command)                                #
      #==========================================================#
      - description: 'command + 1 = ↙️ fast'
        type: basic
        from: { key_code: keypad_1, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: -2262, y: 2262 } } ]

      - description: 'command + 2 = ⬇️️ fast'
        type: basic
        from: { key_code: keypad_2, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { y: 3200 } } ]

      - description: 'command + 3 = ↘️️️ fast'
        type: basic
        from: { key_code: keypad_3, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: 2262, y: 2262 } } ]

      - description: 'command + 4 = ⬅️ fast'
        type: basic
        from: { key_code: keypad_4, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: -3200 } } ]

      - description: 'command + 5 = · fast'
        type: basic
        from: { key_code: keypad_5, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: 0, y: 0 } } ]

      - description: 'command + 6 = ➡️ fast'
        type: basic
        from: { key_code: keypad_6, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: 3200 } } ]

      - description: 'command + 7 = ↖️ fast'
        type: basic
        from: { key_code: keypad_7, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: -2262, y: -2262 } } ]

      - description: 'command + 8 = ⬆️ fast'
        type: basic
        from: { key_code: keypad_8, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { y: -3200 } } ]

      - description: 'command + 9 = ↗️️ fast'
        type: basic
        from: { key_code: keypad_9, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: 2262, y: -2262 } } ]


      #==========================================================#
      # mouse move                                               #
      #==========================================================#
      - description: '1 = ↙️'
        type: basic
        from: { key_code: keypad_1, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: -1131, y: 1131 } } ]

      - description: '2 = ⬇️️'
        type: basic
        from: { key_code: keypad_2, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { y: 1600 } } ]

      - description: '3 = ↘️️️'
        type: basic
        from: { key_code: keypad_3, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: 1131, y: 1131 } } ]

      - description: '4 = ⬅️'
        type: basic
        from: { key_code: keypad_4, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: -1600 } } ]

      - description: '5 = ·'
        type: basic
        from: { key_code: keypad_5, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: 0, y: 0 } } ]

      - description: '6 = ➡️'
        type: basic
        from: { key_code: keypad_6, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: 1600 } } ]

      - description: '7 = ↖️'
        type: basic
        from: { key_code: keypad_7, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: -1131, y: -1131 } } ]

      - description: '8 = ⬆️'
        type: basic
        from: { key_code: keypad_8, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { y: -1600 } } ]

      - description: '9 = ↗️️'
        type: basic
        from: { key_code: keypad_9, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { mouse_key: { x: 1131, y: -1131 } } ]




  ################################################################
  #                        Hyper Window                          #
  ################################################################
  - description: Hyper Window
    manipulators:

      #==========================================================#
      # ( tab ) --> win/desktop switch                           #
      #==========================================================#
      - description: 'shift + tab = alter tab'
        type: basic
        from: { key_code: tab, modifiers: { mandatory: [ left_shift,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: tab , modifiers: [ left_control ] } ]

      - description: 'option + tab = alter desktop'
        type: basic
        from: { key_code: tab, modifiers: { mandatory: [ left_option,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: right_arrow , modifiers: [ left_control ] } ]

      - description: 'command tab = alter app rev'
        type: basic
        from: { key_code: tab, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: tab , modifiers: [ left_command,left_shift ] } ]

      - description: 'tab = alter app'
        type: basic
        from: { key_code: tab, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: tab , modifiers: [ left_command ] } ]

      #==========================================================#
      # ( q ) --> exit                                           #
      #==========================================================#
      - description: 'control + q = lock screen'
        type: basic
        from: { key_code: q, modifiers: { mandatory: [ left_control,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: q , modifiers: [ left_control,left_command ] } ]

      - description: 'shift + q = logout'
        type: basic
        from: { key_code: q, modifiers: { mandatory: [ left_shift,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: q , modifiers: [ left_shift,left_command ] } ]

      - description: 'command + q = force close app'
        type: basic
        from: { key_code: q, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: q , modifiers: [ left_command ] } ]
        # to: [ { key_code: escape , modifiers: [ left_command,left_option ] } ]  # TODO: May not work

      - description: 'q = close app'
        type: basic
        from: { key_code: q, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: q , modifiers: [ left_command ] } ]


      #==========================================================#
      # ( w ) --> close tab                                      #
      #==========================================================#
      - description: 'shift + w = sleep'
        type: basic
        from: { key_code: w, modifiers: { mandatory: [ left_shift,  right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: pmset sleepnow } ]

      - description: 'option + w = display sleep'
        type: basic
        from: { key_code: w, modifiers: { mandatory: [ left_option,  right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: pmset displaysleepnow } ]

      - description: 'command + w = close all tab of app'
        type: basic
        from: { key_code: w, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: w , modifiers: [ left_command ] } ]
        # to: [ { key_code: w , modifiers: [ left_command,left_option ] } ]  # TODO: May not work

      - description: 'w = close tab'
        type: basic
        from: { key_code: w, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: w , modifiers: [ left_command ] } ]


      #==========================================================#
      # ( a ) --> window management                              #
      #==========================================================#
      - description: 'control + a = launchpad'
        type: basic
        from: { key_code: a, modifiers: { mandatory: [ left_control,  right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: open -a 'Launchpad' } ]

      - description: 'option + a = show desktop'
        type: basic
        from: { key_code: a, modifiers: { mandatory: [ left_option,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: f11 } ]

      - description: 'command + a = expose all'
        type: basic
        from: { key_code: a, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: up_arrow , modifiers: [ left_control ] } ]

      # - description: 'a = window resize meta key' (passing via ⇧⌃⌥⌘A)


      #==========================================================#
      # ( s ) --> switch tab/win                                 #
      #==========================================================#
      - description: 'control + s = alter app-win rev'
        type: basic
        from: { key_code: s, modifiers: { mandatory: [ left_control,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: grave_accent_and_tilde , modifiers: [ left_command, left_shift ] } ]

      - description: 'option + s = alter app-win'
        type: basic
        from: { key_code: s, modifiers: { mandatory: [ left_option,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: grave_accent_and_tilde , modifiers: [ left_command ] } ]

      - description: 'command + s = alter tab sheet rev'
        type: basic
        from: { key_code: s, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: tab , modifiers: [ left_control,left_shift ] } ]

      - description: 's = alter tab sheet'
        type: basic
        from: { key_code: s, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: tab , modifiers: [ left_control ] } ]




  ################################################################
  #                      Hyper Application                       #
  ################################################################
  - description: Hyper Application
    manipulators:


      #==========================================================#
      # ( e ) --> safari / finder / mail                         #
      #==========================================================#
      - description: 'command + e = finder'
        type: basic
        from: { key_code: e, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: open -a finder } ]

      - description: 'option + e = mail'
        type: basic
        from: { key_code: e, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: open -a mail } ]

      - description: 'e = safari'
        type: basic
        from: { key_code: e, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: open -a Safari } ]


      #==========================================================#
      # ( r ) --> safari / finder / mail                         #
      #==========================================================#
      - description: 'command + r = preview'
        type: basic
        from: { key_code: r, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: open -a Preview } ]

      - description: 'option + r = terminal'
        type: basic
        from: { key_code: r, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: open -a terminal } ]

      - description: 'r = iTerm2'
        type: basic
        from: { key_code: r, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: open -a iTerm } ]

      #==========================================================#
      # ( t ) --> vscode / typora / notes                        #
      #==========================================================#
      - description: 'command + t = typora'
        type: basic
        from: { key_code: t, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: open -a Typora } ]

      - description: 'option + t = notes'
        type: basic
        from: { key_code: t, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: open -a notes } ]

      - description: 't = iTerm2'
        type: basic
        from: { key_code: t, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: open -a 'Visual Studio Code' } ]

      #==========================================================#
      # ( y ) --> siri / karabiner / amphetamine                  #
      #==========================================================#
      - description: 'command + y = karabiner'
        type: basic
        from: { key_code: y, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: open -a Karabiner-Elements } ]

      - description: 'option + y = amphetamine'
        type: basic
        from: { key_code: y, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: open -a amphetamine } ]

      - description: 'y = Siri'
        type: basic
        from: { key_code: y, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: open -a Siri } ]

      #==========================================================#
      # ( f ) --> alfred 4 / Dash / Dictionary                   #
      #==========================================================#
      - description: 'command + f = Dash'
        type: basic
        from: { key_code: f, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: open -a Dash } ]

      - description: 'option + f = Dictionary'
        type: basic
        from: { key_code: f, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: open -a Dictionary } ]

      - description: 'f = Alfred 4'
        type: basic
        from: { key_code: f, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: open -a 'Alfred 4' } ]

      #==========================================================#
      # ( g ) --> idea / chrome / calender                       #
      #==========================================================#
      - description: 'command + g = Chrome'
        type: basic
        from: { key_code: g, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: open -a 'Google Chrome' } ]

      - description: 'option + g = Calender'
        type: basic
        from: { key_code: g, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: open -a Calendar } ]

      - description: 'g = Intellij IDEA'
        type: basic
        from: { key_code: g, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: open -a 'IntelliJ IDEA' } ]




  ################################################################
  #                       Hyper Terminal                         #
  ################################################################
  - description: Hyper Terminal
    manipulators:

      #==========================================================#
      # ( d ) -->  Ctrl-D (EOF)   |  Define                      #
      #==========================================================#
      - description: 'command + d = define'
        type: basic
        from: { key_code: d, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: d, modifiers: [ left_control, left_command ] } ]

      - description: 'd = ctrl-d (EOF)'
        type: basic
        from: { key_code: d, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: d , modifiers: [ left_control ] } ]

      #==========================================================#
      # ( z ) -->  Ctrl-Z (SIGTSTP)  |  F5 (VS Code Debug)       #
      #==========================================================#
      - description: 'command + z = F5 (vscode debug)'
        type: basic
        from: { key_code: z, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: f5 } ]

      - description: 'z = ctrl-z'
        type: basic
        from: { key_code: z, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: z , modifiers: [ left_control ] } ]

      #==========================================================#
      # ( x ) -->  Ctrl-R (Run)  |  Ctrl+F5 (VS Code Run)        #
      #==========================================================#
      - description: 'command + x = ctrl + F5 (vscode run)'
        type: basic
        from: { key_code: x, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: f5 , modifiers: [ left_control ] } ]

      - description: 'x = ctrl-r'
        type: basic
        from: { key_code: x, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: r , modifiers: [ left_control ] } ]

      #==========================================================#
      # ( c ) -->  Ctrl-C (SIGINT)  |  Shift+F5 (VS Code Stop)   #
      #==========================================================#
      - description: 'command + c = shift + F5 (vscode stop)'
        type: basic
        from: { key_code: c, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: f5 , modifiers: [ left_shift ] } ]

      - description: 'c = ctrl-c'
        type: basic
        from: { key_code: c, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: c , modifiers: [ left_control ] } ]

      #==========================================================#
      # ( v ) -->  Vim Prefix Meta Key                           #
      #==========================================================#
      # - description: 'v = vim meta key'
      - description: 'v = ctrl-v'
        type: basic
        from: { key_code: v, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: v , modifiers: [ left_control ] } ]


      #==========================================================#
      # ( b ) -->  Tmux Prefix Meta Key                          #
      #==========================================================#
      # - description: 'b = tmux meta key'
      - description: 'b = ctrl-b'
        type: basic
        from: { key_code: b, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: b , modifiers: [ left_control ] } ]



  ################################################################
  #                        Hyper Clipboard                       #
  ################################################################
  - description: Hyper Clipboard
    manipulators:

      #==========================================================#
      # ( numbers ) -->  copy & paste TEXT via pbcopy|pbpaste    #
      #==========================================================#
      - description: 'command + 1 = copy to clip1'
        type: basic
        from: { key_code: '1', modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: c, modifiers: [ left_command ] } , { shell_command: 'pbpaste > ~/.clip1' } ]

      - description: '1 = paste from clip1'
        type: basic
        from: { key_code: '1', modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: 'cat ~/.clip1 | pbcopy ' },{ key_code: v, modifiers: [ left_command ] } ]

      - description: 'command + 2 = copy to clip2'
        type: basic
        from: { key_code: '2', modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: c, modifiers: [ left_command ] } , { shell_command: 'pbpaste > ~/.clip2' } ]

      - description: '2 = paste from clip2'
        type: basic
        from: { key_code: '2', modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: 'cat ~/.clip2 | pbcopy ' },{ key_code: v, modifiers: [ left_command ] } ]

      - description: 'command + 3 = copy to clip3'
        type: basic
        from: { key_code: '3', modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: c, modifiers: [ left_command ] } , { shell_command: 'pbpaste > ~/.clip3' } ]

      - description: '3 = paste from clip3'
        type: basic
        from: { key_code: '3', modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: 'cat ~/.clip3 | pbcopy ' },{ key_code: v, modifiers: [ left_command ] } ]

      - description: 'command + 4 = copy to clip4'
        type: basic
        from: { key_code: '4', modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: c, modifiers: [ left_command ] } , { shell_command: 'pbpaste > ~/.clip4' } ]

      - description: '4 = paste from clip4'
        type: basic
        from: { key_code: '4', modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: 'cat ~/.clip4 | pbcopy ' },{ key_code: v, modifiers: [ left_command ] } ]

      - description: 'command + 5 = copy to clip5'
        type: basic
        from: { key_code: '5', modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: c, modifiers: [ left_command ] } , { shell_command: 'pbpaste > ~/.clip5' } ]

      - description: '5 = paste from clip5'
        type: basic
        from: { key_code: '5', modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: 'cat ~/.clip5 | pbcopy ' },{ key_code: v, modifiers: [ left_command ] } ]

      - description: 'command + 6 = copy to clip6'
        type: basic
        from: { key_code: '6', modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: c, modifiers: [ left_command ] } , { shell_command: 'pbpaste > ~/.clip6' } ]

      - description: '6 = paste from clip6'
        type: basic
        from: { key_code: '6', modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: 'cat ~/.clip6 | pbcopy ' },{ key_code: v, modifiers: [ left_command ] } ]

      - description: 'command + 7 = copy to clip7'
        type: basic
        from: { key_code: '7', modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: c, modifiers: [ left_command ] } , { shell_command: 'pbpaste > ~/.clip7' } ]

      - description: '7 = paste from clip7'
        type: basic
        from: { key_code: '7', modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: 'cat ~/.clip7 | pbcopy ' },{ key_code: v, modifiers: [ left_command ] } ]

      - description: 'command + 8 = copy to clip8'
        type: basic
        from: { key_code: '8', modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: c, modifiers: [ left_command ] } , { shell_command: 'pbpaste > ~/.clip8' } ]

      - description: '8 = paste from clip8'
        type: basic
        from: { key_code: '8', modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: 'cat ~/.clip8 | pbcopy ' },{ key_code: v, modifiers: [ left_command ] } ]

      - description: 'command + 9 = copy to clip9'
        type: basic
        from: { key_code: '9', modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: c, modifiers: [ left_command ] } , { shell_command: 'pbpaste > ~/.clip9' } ]

      - description: '9 = paste from clip9'
        type: basic
        from: { key_code: '9', modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: 'cat ~/.clip9 | pbcopy ' },{ key_code: v, modifiers: [ left_command ] } ]

      - description: 'command + 0 = copy to clip0'
        type: basic
        from: { key_code: '0', modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: c, modifiers: [ left_command ] } , { shell_command: 'pbpaste > ~/.clip0' } ]

      - description: '0 = paste from clip0'
        type: basic
        from: { key_code: '0', modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: 'cat ~/.clip0 | pbcopy ' },{ key_code: v, modifiers: [ left_command ] } ]




  ################################################################
  #                        Hyper Shifter                         #
  ################################################################
  - description: Hyper Shifter
    manipulators:

      #==========================================================#
      # ( number ) -->  shifter symbols                          #
      #==========================================================#
      # - description: '1 = !'
      #   type: basic
      #   from: { key_code: '1', modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
      #   to: [ { key_code: '1' , modifiers: [ left_shift ] } ]

      # - description: '2 = @'
      #   type: basic
      #   from: { key_code: '2', modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
      #   to: [ { key_code: '2' , modifiers: [ left_shift ] } ]

      # - description: '3 = #'
      #   type: basic
      #   from: { key_code: '3', modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
      #   to: [ { key_code: '3' , modifiers: [ left_shift ] } ]

      # - description: '4 = $'
      #   type: basic
      #   from: { key_code: '4', modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
      #   to: [ { key_code: '4' , modifiers: [ left_shift ] } ]

      # - description: '5 = %'
      #   type: basic
      #   from: { key_code: '5', modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
      #   to: [ { key_code: '5' , modifiers: [ left_shift ] } ]

      # - description: '6 = ^'
      #   type: basic
      #   from: { key_code: '6', modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
      #   to: [ { key_code: '6' , modifiers: [ left_shift ] } ]

      # - description: '7 = &'
      #   type: basic
      #   from: { key_code: '7', modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
      #   to: [ { key_code: '7' , modifiers: [ left_shift ] } ]

      # - description: '8 = *'
      #   type: basic
      #   from: { key_code: '8', modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
      #   to: [ { key_code: '8' , modifiers: [ left_shift ] } ]

      # - description: '9 = ('
      #   type: basic
      #   from: { key_code: '9', modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
      #   to: [ { key_code: '9' , modifiers: [ left_shift ] } ]

      # - description: '0 = )'
      #   type: basic
      #   from: { key_code: '0', modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
      #   to: [ { key_code: '0' , modifiers: [ left_shift ] } ]

      - description: 'command + hyphen = scale down'
        type: basic
        from: { key_code: hyphen, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: hyphen , modifiers: [ left_command ] } ]

      - description: 'hyphen = _'
        type: basic
        from: { key_code: hyphen, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: hyphen , modifiers: [ left_shift ] } ]

      - description: 'command + equal_sign = scale up'
        type: basic
        from: { key_code: equal_sign, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: equal_sign , modifiers: [ left_command ] } ]

      - description: 'equal_sign = +'
        type: basic
        from: { key_code: equal_sign, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: equal_sign , modifiers: [ left_shift ] } ]


      #==========================================================#
      # [] -> () command:{}  option:<>
      #==========================================================#
      - description: 'command + open_bracket [ = {'
        type: basic
        from: { key_code: open_bracket, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: open_bracket , modifiers: [ left_shift ] } ]

      - description: 'option + open_bracket [ = <'
        type: basic
        from: { key_code: open_bracket, modifiers: { mandatory: [ left_option, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: comma , modifiers: [ left_shift ] } ]

      - description: 'open_bracket [ = ('
        type: basic
        from: { key_code: open_bracket, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: '9' , modifiers: [ left_shift ] } ]

      - description: 'command + close_bracket ] = }'
        type: basic
        from: { key_code: close_bracket, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: close_bracket , modifiers: [ left_shift ] } ]

      - description: 'option + close_bracket ] = }'
        type: basic
        from: { key_code: close_bracket, modifiers: { mandatory: [ left_option,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: period , modifiers: [ left_shift ] } ]

      - description: 'close_bracket ] = )'
        type: basic
        from: { key_code: close_bracket, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: '0' , modifiers: [ left_shift ] } ]


      #==========================================================#
      # slash/backslash to comment
      #==========================================================#
      - description: 'backslash \ = command + / (comment)'
        type: basic
        from: { key_code: backslash, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: slash , modifiers: [ left_command ] } ]

      - description: 'slash / = command + / (comment)'
        type: basic
        from: { key_code: slash, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: slash , modifiers: [ left_command ] } ]


      #==========================================================#
      # semicolon / quote -->  !=   (+command) :"
      #==========================================================#
      - description: 'command + semicolon = !'
        type: basic
        from: { key_code: semicolon, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: '1' , modifiers: [ left_shift ] } ]

      - description: 'semicolon = :'
        type: basic
        from: { key_code: semicolon, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: semicolon , modifiers: [ left_shift ] } ]

      - description: 'command + quote = equal_sign'
        type: basic
        from: { key_code: quote, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: equal_sign } ]

      - description: 'quote = equal_sign'
        type: basic
        from: { key_code: quote, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: equal_sign } ]




  ################################################################
  #                       Hyper Functional                       #
  ################################################################
  - description: Hyper Functional
    manipulators:


      #==========================================================#
      # F1 - F3 --> Desktop (require preference->shortcut setup) #
      #==========================================================#
      - description: 'command + F1 = desktop 1'
        type: basic
        from: { key_code: f1, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: '1' , modifiers: [ left_control ] } ]

      - description: 'command + F2 = desktop 2'
        type: basic
        from: { key_code: f2, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: '2' , modifiers: [ left_control ] } ]

      - description: 'command + F3 = desktop 3'
        type: basic
        from: { key_code: f3, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: '3' , modifiers: [ left_control ] } ]


      #==========================================================#
      # F1 - F12 --> Real Function                               #
      #==========================================================#
      - description: 'F1 = display_brightness_decrement'
        type: basic
        from: { key_code: f1, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: display_brightness_decrement } ]

      - description: 'F2 = display_brightness_increment'
        type: basic
        from: { key_code: f2, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: display_brightness_increment } ]

      - description: 'F3 = Expose All'
        type: basic
        from: { key_code: f3, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: up_arrow , modifiers: [ left_control ] } ]

      - description: 'F4 = LaunchPad'
        type: basic
        from: { key_code: f4, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { shell_command: open -a 'Launchpad' } ]

      - description: 'F5 = illumination_decrement'
        type: basic
        from: { key_code: f5, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: illumination_decrement } ]

      - description: 'F6 = illumination_increment'
        type: basic
        from: { key_code: f6, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: illumination_increment } ]

      - description: 'F7 = rewind'
        type: basic
        from: { key_code: f7, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: rewind } ]

      - description: 'F8 = play_or_pause'
        type: basic
        from: { key_code: f8, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: play_or_pause } ]

      - description: 'F9 = fastforward'
        type: basic
        from: { key_code: f9, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: fastforward } ]

      - description: 'F10 = mute'
        type: basic
        from: { key_code: f10, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: mute } ]

      - description: 'F11 = volume_decrement'
        type: basic
        from: { key_code: f11, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: volume_decrement } ]

      - description: 'F12 = volume_increment'
        type: basic
        from: { key_code: f12, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: volume_increment } ]

      #==========================================================#
      # ~ --> area selection snapshot                            #
      #==========================================================#
      - description: 'command + ~ = area snap to desktop file'
        type: basic
        from: { key_code: grave_accent_and_tilde, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: '4' , modifiers: [ left_shift,left_command ] } ]

      - description: '~ = area snap to clipboard'
        type: basic
        from: { key_code: grave_accent_and_tilde, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: '4' , modifiers: [ left_shift,left_command,left_control ] } ]

      #==========================================================#
      # Screenshot (F13) --> Screenshot                          #
      #==========================================================#
      - description: 'command + ~ = area snap to desktop file'
        type: basic
        from: { key_code: f13, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: '3' , modifiers: [ left_shift,left_command ] } ]

      - description: '~ = area snap to clipboard'
        type: basic
        from: { key_code: f13, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: '3' , modifiers: [ left_shift,left_command,left_control ] } ]

      #==========================================================#
      # ScrollLock (F14) --> Advanced Screenshot                 #
      #==========================================================#
      - description: 'command + ScrollLock = area snap to desktop file'
        type: basic
        from: { key_code: f14, modifiers: { mandatory: [ left_command,  right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: '6' , modifiers: [ left_shift,left_command ] } ]

      - description: 'ScrollLock = screen video capture'
        type: basic
        from: { key_code: f14, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: '5' , modifiers: [ left_shift,left_command ] } ]

      #==========================================================#
      # Pause (F15) --> play_or_pause                            #
      #==========================================================#
      - description: 'ScrollLock = screen video capture'
        type: basic
        from: { key_code: f15, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: play_or_pause } ]

      #==========================================================#
      # Ins/Del/Home/End/PgUp/PgDn -> Fine-Grained Control       #
      #==========================================================#
      - description: 'insert = display_brightness_increment'
        type: basic
        from: { key_code: insert, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: display_brightness_increment, modifiers: [ left_shift, left_option ] } ]

      - description: 'delete_forward = display_brightness_decrement'
        type: basic
        from: { key_code: delete_forward, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: display_brightness_decrement, modifiers: [ left_shift, left_option ] } ]

      - description: 'home = illumination_increment'
        type: basic
        from: { key_code: home, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: illumination_increment, modifiers: [ left_shift, left_option ] } ]

      - description: 'end = illumination_decrement'
        type: basic
        from: { key_code: end, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: illumination_decrement, modifiers: [ left_shift, left_option ] } ]

      - description: 'page_up = volume_increment'
        type: basic
        from: { key_code: page_up, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: volume_increment, modifiers: [ left_shift, left_option ] } ]

      - description: 'page_down = volume_decrement'
        type: basic
        from: { key_code: page_down, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
        to: [ { key_code: volume_decrement, modifiers: [ left_shift, left_option ] } ]



...
Last modified 2021-04-13: v3.0.3 (1b7d92d)