Skip to content

Commit

Permalink
Merge pull request wuub#78 from fson/octave-repl
Browse files Browse the repository at this point in the history
Add Octave REPL
  • Loading branch information
wuub committed Sep 20, 2012
2 parents 7485533 + 2f272f7 commit f912255
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config/Octave/Default.sublime-commands
@@ -0,0 +1,10 @@
[
{
"caption": "SublimeREPL: Octave",
"command": "run_existing_window_command", "args":
{
"id": "repl_octave",
"file": "config/Octave/Main.sublime-menu"
}
}
]
27 changes: 27 additions & 0 deletions config/Octave/Main.sublime-menu
@@ -0,0 +1,27 @@
[
{
"id": "tools",
"children":
[{
"caption": "SublimeREPL",
"mnemonic": "r",
"id": "SublimeREPL",
"children":
[
{"command": "repl_open",
"caption": "Octave",
"id": "repl_octave",
"mnemonic": "o",
"args": {
"type": "subprocess",
"encoding": "utf8",
"cmd": ["octave", "-i"],
"cwd": "$file_path",
"external_id": "octave",
"syntax": "Packages/Matlab/Matlab.tmLanguage"
}
}
]
}]
}
]

0 comments on commit f912255

Please sign in to comment.