Sublime Forum

Multiple language selectors on the same key binding

#1

Hi,
I’m trying to set up multiple language selectors (for R and Rmd) for the same key binding, but I can’t get it to work

{ "keys": "super+alt+enter"], "command": "send_select", "context":
    
      { "key": "selector", "operator": "equal", "operand": "source.r" },
      { "key": "selector", "operator": "equal", "operand": "source.rmd" }
    ],
    "args": {"which": 1}
  }

I guess the comma is an AND, so how do I set it so it’s an OR?

Thanks

0 Likes