Home Download Buy Blog Forum Support

multiple language selectors on the same key binding

multiple language selectors on the same key binding

Postby nachocab on Sat Dec 15, 2012 4:39 pm

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

Code: Select all
{ "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
nachocab
 
Posts: 23
Joined: Thu Jul 07, 2011 2:22 pm

Return to General Discussion

Who is online

Users browsing this forum: Clams and 24 guests