Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj committed Nov 8, 2013
0 parents commit 1db1c77
Show file tree
Hide file tree
Showing 34 changed files with 3,421 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
@@ -0,0 +1,3 @@
*.pyc

/__pycache__
112 changes: 112 additions & 0 deletions Default (OSX).sublime-keymap
@@ -0,0 +1,112 @@
[
{ "keys": ["up"], "command": "julia_view_previous",
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
},
{ "keys": ["alt+p"], "command": "julia_view_previous",
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},
{ "keys": ["down"], "command": "julia_view_next",
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
},
{ "keys": ["alt+n"], "command": "julia_view_next",
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},
{ "keys": ["enter"], "command": "julia_enter", "args": {},
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
},
{ "keys": ["escape"], "command": "julia_escape", "args": {},
"context":
[
{ "key": "auto_complete_visible", "operator": "equal", "operand": false },
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},
{ "keys": ["backspace"], "command": "julia_backspace", "args": {},
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }
]
},
{ "keys": ["ctrl+backspace"], "command": "julia_ctrl_backspace", "args": {},
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }
]
},
{ "keys": ["left"], "command": "julia_left", "args": {},
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},
{ "keys": ["home"], "command": "julia_home", "args": {},
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},
{ "keys": ["shift+left"], "command": "julia_shift_left", "args": {},
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},
{ "keys": ["shift+home"], "command": "julia_shift_home", "args": {},
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},
{ "keys": ["shift+ctrl+c"], "command": "julia_clear",
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},

{ "keys": ["ctrl+shift+r"], "command": "julia_restart",
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},

{ "keys": ["ctrl+enter"], "command": "julia_transfer_current", "args": {"scope": "selection"},
"context":
[
{ "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true }
]
},
{ "keys": ["ctrl+enter"], "command": "julia_transfer_current", "args": {"scope": "lines"},
"context":
[
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }
]
},
{ "keys": ["ctrl+shift+enter"], "command": "julia_transfer_current", "args": {"scope": "file"},
"context":
[
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }
]
}
]
119 changes: 119 additions & 0 deletions Default (Windows).sublime-keymap
@@ -0,0 +1,119 @@
[
{ "keys": ["up"], "command": "julia_view_previous",
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
},
{ "keys": ["alt+p"], "command": "julia_view_previous",
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},
{ "keys": ["down"], "command": "julia_view_next",
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
},
{ "keys": ["alt+n"], "command": "julia_view_next",
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},
{ "keys": ["enter"], "command": "i_julia_enter", "args": {},
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
},
{ "keys": ["shift+enter"], "command": "i_julia_shift_enter", "args": {},
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
},
{ "keys": ["escape"], "command": "julia_escape", "args": {},
"context":
[
{ "key": "auto_complete_visible", "operator": "equal", "operand": false },
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},
{ "keys": ["backspace"], "command": "julia_backspace", "args": {},
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }
]
},
{ "keys": ["ctrl+backspace"], "command": "julia_ctrl_backspace", "args": {},
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }
]
},
{ "keys": ["left"], "command": "julia_left", "args": {},
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},
{ "keys": ["home"], "command": "julia_home", "args": {},
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},
{ "keys": ["shift+left"], "command": "julia_shift_left", "args": {},
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},
{ "keys": ["shift+home"], "command": "julia_shift_home", "args": {},
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},
{ "keys": ["shift+ctrl+c"], "command": "julia_clear",
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},

{ "keys": ["ctrl+shift+r"], "command": "julia_restart",
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},

{ "keys": ["ctrl+enter"], "command": "julia_transfer_current", "args": {"scope": "selection"},
"context":
[
{ "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true }
]
},
{ "keys": ["ctrl+enter"], "command": "julia_transfer_current", "args": {"scope": "lines"},
"context":
[
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }
]
},
{ "keys": ["ctrl+shift+enter"], "command": "julia_transfer_current", "args": {"scope": "file"},
"context":
[
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }
]
}
]
112 changes: 112 additions & 0 deletions Default Linux).sublime-keymap
@@ -0,0 +1,112 @@
[
{ "keys": ["up"], "command": "julia_view_previous",
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
},
{ "keys": ["alt+p"], "command": "julia_view_previous",
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},
{ "keys": ["down"], "command": "julia_view_next",
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
},
{ "keys": ["alt+n"], "command": "julia_view_next",
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},
{ "keys": ["enter"], "command": "julia_enter", "args": {},
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
},
{ "keys": ["escape"], "command": "julia_escape", "args": {},
"context":
[
{ "key": "auto_complete_visible", "operator": "equal", "operand": false },
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},
{ "keys": ["backspace"], "command": "julia_backspace", "args": {},
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }
]
},
{ "keys": ["ctrl+backspace"], "command": "julia_ctrl_backspace", "args": {},
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }
]
},
{ "keys": ["left"], "command": "julia_left", "args": {},
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},
{ "keys": ["home"], "command": "julia_home", "args": {},
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},
{ "keys": ["shift+left"], "command": "julia_shift_left", "args": {},
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},
{ "keys": ["shift+home"], "command": "julia_shift_home", "args": {},
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},
{ "keys": ["shift+ctrl+c"], "command": "julia_clear",
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},

{ "keys": ["ctrl+shift+r"], "command": "julia_restart",
"context":
[
{ "key": "setting.julia", "operator": "equal", "operand": true }
]
},

{ "keys": ["ctrl+enter"], "command": "julia_transfer_current", "args": {"scope": "selection"},
"context":
[
{ "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true }
]
},
{ "keys": ["ctrl+enter"], "command": "julia_transfer_current", "args": {"scope": "lines"},
"context":
[
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }
]
},
{ "keys": ["ctrl+shift+enter"], "command": "julia_transfer_current", "args": {"scope": "file"},
"context":
[
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }
]
}
]
8 changes: 8 additions & 0 deletions Default.sublime-commands
@@ -0,0 +1,8 @@
[
{ "caption": "Sublime-IJulia: Open New REPL", "command": "i_julia_open"},
{ "caption": "Sublime-IJulia: Enter", "command": "i_julia_enter"},
{ "caption": "Sublime-IJulia: Receive", "command": "i_julia_receive"},
{ "caption": "Sublime-IJulia: Evaluate Selection", "command": "julia_transfer_current", "args": {"scope": "selection"}},
{ "caption": "Sublime-IJulia: Evaluate Line", "command": "julia_transfer_current", "args": {"scope": "lines"}},
{ "caption": "Sublime-IJulia: Evaluate File", "command": "julia_transfer_current", "args": {"scope": "file"}}
]

0 comments on commit 1db1c77

Please sign in to comment.