forked from wuub/SublimeREPL
/
Main.sublime-menu
31 lines (31 loc) · 1.11 KB
/
Main.sublime-menu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[
{
"id": "tools",
"children":
[{
"caption": "SublimeREPL",
"mnemonic": "r",
"id": "SublimeREPL",
"children":
[
{"command": "repl_open",
"caption": "R",
"mnemonic": "r",
"args": {
"type": "subprocess",
"encoding": "utf8",
"cmd": {"linux": ["R", "--interactive"],
"osx": ["R", "--interactive"],
"windows": ["R.exe", "--no-save"]},
"cwd": "$file_path",
"env": {}, // clean environment for subprocess repl
"extend_env": {}, // variables to be added to standard env
"cmd_postfix": "\n", // postfix that will be automatically added after a line in repl
"suppress_echo": true, // try to remove remote echo
"syntax": "Packages/R/R.tmLanguage"
}
}
]
}]
}
]