Skip to content

Allow multiple commands on key #21

Description

@pjamar

I would like to be able to specify more than one action associated with a key to be able to perform move complicated interactions.

As an example this would be one of my use cases:

I would like to use keys G15 thru G19 and G20 to manage bookmarks in Android Developer Studio.

  • Keys G15, G16, G17, G18 and G19 are used to jump to different bookmarks (CTRL+0 .. CTRL+4).
  • Key G20 activates the bookmark set functionality and G21 restores the jump to bookmark bindings

G20 bind would be like this:

!rgb 255 0 0 # Put the screen red to flag the store functionality
!bind G15 LEFTCTRL+LEFTSHIFT+0
!bind G16 LEFTCTRL+LEFTSHIFT+1
!bind G17 LEFTCTRL+LEFTSHIFT+2
!bind G18 LEFTCTRL+LEFTSHIFT+3
!bind G19 LEFTCTRL+LEFTSHIFT+4

And G21 bind would be like this:

!rgb 0 255 0 # Put the screen back to standard color
!bind G15 LEFTCTRL+0
!bind G16 LEFTCTRL+1
!bind G17 LEFTCTRL+2
!bind G18 LEFTCTRL+3
!bind G19 LEFTCTRL+4

It would be even better if we can have an action to activate a profile (basically send a whole file to /tmp/g13-0)

BTW: Great tool, thanks a lot for all your effort :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions