Skip to content

Mousemap contexts #105

Closed
Closed
@iamntz

Description

I just realized that mousemaps lacks some of the keybinding goodies, like context.

E.g.:

  {
    "button": "button1", "count": 1, "modifiers": ["button2"],
    "press_command": "fold",
    "context": [
      { "key": "selection_empty", "operator": "not_equal", "operand": true, "match_all": true }
    ]
  }

Also the middle button doesn't allow count:

{
    "button": "button3", "count": 2,
    "press_command": "unfold"
}

Assuming this will be fixed someday, does anyone has an idea how to detect if a text is folded or not?

(also, there is nothing in the documentation about mouse configs; at all!)

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions