Skip to content

Commit

Permalink
Ctrl+s now saves, dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
z-m-k committed Sep 21, 2013
1 parent c4280fc commit 4002ebd
Show file tree
Hide file tree
Showing 4 changed files with 601 additions and 54 deletions.
104 changes: 52 additions & 52 deletions Default.sublime-keymap
@@ -1,116 +1,116 @@
[
{
[
{
"keys": ["shift+enter"], "command": "inb_run_in_notebook", "args": {"inplace" : false},
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
},
{
{
"keys": ["ctrl+enter"], "command": "inb_run_in_notebook", "args": {"inplace" : true},
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
},
{
"keys": ["backspace"], "command": "inb_backspace",
{
"keys": ["backspace"], "command": "inb_backspace",
"context":
[
{ "key": "setting.ipython_notebook", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }
]
},
{
{
"keys": ["super+s"], "command": "inb_none",
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
},
{
"keys": ["ctrl+s"], "command": "inb_none",
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
{
"keys": ["ctrl+s"], "command": "inb_save_notebook",
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
},

{
{
"keys": ["ctrl+m", "d"], "command": "inb_delete_current_cell",
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
},
{
{
"keys": ["ctrl+m", "a"], "command": "inb_insert_cell_above",
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
},
{
{
"keys": ["ctrl+m", "b"], "command": "inb_insert_cell_below",
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
},
{
{
"keys": ["ctrl+m", "y"], "command": "inb_change_cell_type", "args": {"new_type" : "code"},
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
},
{
{
"keys": ["ctrl+m", "m"], "command": "inb_change_cell_type", "args": {"new_type" : "markdown"},
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
},
{
{
"keys": ["ctrl+m", "t"], "command": "inb_change_cell_type", "args": {"new_type" : "raw"},
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
},
{
{
"keys": ["ctrl+m", "s"], "command": "inb_save_notebook",
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
},
{
{
"keys": ["up"], "command": "inb_move_up",
"context" : [
"context" : [
{ "key": "setting.ipython_notebook", "operator": "equal", "operand": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
]
},
{
{
"keys": ["ctrl+up"], "command": "inb_move_to_cell", "args": {"up" : true},
"context" : [
"context" : [
{ "key": "setting.ipython_notebook", "operator": "equal", "operand": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
]
},
{
{
"keys": ["ctrl+down"], "command": "inb_move_to_cell", "args": {"up" : false},
"context" : [
"context" : [
{ "key": "setting.ipython_notebook", "operator": "equal", "operand": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
]
},
{
{
"keys": ["ctrl+m", "p"], "command": "inb_move_to_cell", "args": {"up" : true},
"context" : [
"context" : [
{ "key": "setting.ipython_notebook", "operator": "equal", "operand": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
]
},
{
{
"keys": ["ctrl+m", "n"], "command": "inb_move_to_cell", "args": {"up" : false},
"context" : [
"context" : [
{ "key": "setting.ipython_notebook", "operator": "equal", "operand": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
]
},
{
{
"keys": ["down"], "command": "inb_move_down",
"context" : [
"context" : [
{ "key": "setting.ipython_notebook", "operator": "equal", "operand": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
]
},
{
{
"keys": ["left"], "command": "inb_move_left",
"context" : [
"context" : [
{ "key": "setting.ipython_notebook", "operator": "equal", "operand": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
]
},
{
{
"keys": ["right"], "command": "inb_move_right",
"context" : [
"context" : [
{ "key": "setting.ipython_notebook", "operator": "equal", "operand": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
}
]
}




]
]

2 changes: 1 addition & 1 deletion Python2.tmLanguage
Expand Up @@ -2886,4 +2886,4 @@
<key>uuid</key>
<string>F23DB5B2-7D08-11D9-A709-220D93B6E43C</string>
</dict>
</plist>
</plist>
2 changes: 1 addition & 1 deletion SublimeIPythonNotebook.sublime-settings
@@ -1,3 +1,3 @@
{
"color_scheme": "Packages/SublimeIPythonNotebook/ipynb2.hidden-tmTheme"
"color_scheme": "Packages/SublimeIPythonNotebook/ipynb_dark.hidden-tmTheme"
}

0 comments on commit 4002ebd

Please sign in to comment.