Skip to content

Commit 4002ebd

Browse files
committed
Ctrl+s now saves, dark theme
1 parent c4280fc commit 4002ebd

4 files changed

Lines changed: 601 additions & 54 deletions

File tree

Default.sublime-keymap

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,116 +1,116 @@
1-
[
2-
{
1+
[
2+
{
33
"keys": ["shift+enter"], "command": "inb_run_in_notebook", "args": {"inplace" : false},
4-
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
4+
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
55
},
6-
{
6+
{
77
"keys": ["ctrl+enter"], "command": "inb_run_in_notebook", "args": {"inplace" : true},
8-
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
8+
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
99
},
10-
{
11-
"keys": ["backspace"], "command": "inb_backspace",
10+
{
11+
"keys": ["backspace"], "command": "inb_backspace",
1212
"context":
1313
[
1414
{ "key": "setting.ipython_notebook", "operator": "equal", "operand": true },
1515
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }
1616
]
1717
},
18-
{
18+
{
1919
"keys": ["super+s"], "command": "inb_none",
20-
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
20+
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
2121
},
22-
{
23-
"keys": ["ctrl+s"], "command": "inb_none",
24-
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
22+
{
23+
"keys": ["ctrl+s"], "command": "inb_save_notebook",
24+
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
2525
},
2626

27-
{
27+
{
2828
"keys": ["ctrl+m", "d"], "command": "inb_delete_current_cell",
29-
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
29+
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
3030
},
31-
{
31+
{
3232
"keys": ["ctrl+m", "a"], "command": "inb_insert_cell_above",
33-
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
33+
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
3434
},
35-
{
35+
{
3636
"keys": ["ctrl+m", "b"], "command": "inb_insert_cell_below",
37-
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
37+
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
3838
},
39-
{
39+
{
4040
"keys": ["ctrl+m", "y"], "command": "inb_change_cell_type", "args": {"new_type" : "code"},
41-
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
41+
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
4242
},
43-
{
43+
{
4444
"keys": ["ctrl+m", "m"], "command": "inb_change_cell_type", "args": {"new_type" : "markdown"},
45-
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
45+
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
4646
},
47-
{
47+
{
4848
"keys": ["ctrl+m", "t"], "command": "inb_change_cell_type", "args": {"new_type" : "raw"},
49-
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
49+
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
5050
},
51-
{
51+
{
5252
"keys": ["ctrl+m", "s"], "command": "inb_save_notebook",
53-
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
53+
"context" : [ { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }]
5454
},
55-
{
55+
{
5656
"keys": ["up"], "command": "inb_move_up",
57-
"context" : [
57+
"context" : [
5858
{ "key": "setting.ipython_notebook", "operator": "equal", "operand": true },
5959
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
60-
]
60+
]
6161
},
62-
{
62+
{
6363
"keys": ["ctrl+up"], "command": "inb_move_to_cell", "args": {"up" : true},
64-
"context" : [
64+
"context" : [
6565
{ "key": "setting.ipython_notebook", "operator": "equal", "operand": true },
6666
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
67-
]
67+
]
6868
},
69-
{
69+
{
7070
"keys": ["ctrl+down"], "command": "inb_move_to_cell", "args": {"up" : false},
71-
"context" : [
71+
"context" : [
7272
{ "key": "setting.ipython_notebook", "operator": "equal", "operand": true },
7373
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
74-
]
74+
]
7575
},
76-
{
76+
{
7777
"keys": ["ctrl+m", "p"], "command": "inb_move_to_cell", "args": {"up" : true},
78-
"context" : [
78+
"context" : [
7979
{ "key": "setting.ipython_notebook", "operator": "equal", "operand": true },
8080
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
81-
]
81+
]
8282
},
83-
{
83+
{
8484
"keys": ["ctrl+m", "n"], "command": "inb_move_to_cell", "args": {"up" : false},
85-
"context" : [
85+
"context" : [
8686
{ "key": "setting.ipython_notebook", "operator": "equal", "operand": true },
8787
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
88-
]
88+
]
8989
},
90-
{
90+
{
9191
"keys": ["down"], "command": "inb_move_down",
92-
"context" : [
92+
"context" : [
9393
{ "key": "setting.ipython_notebook", "operator": "equal", "operand": true },
9494
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
95-
]
95+
]
9696
},
97-
{
97+
{
9898
"keys": ["left"], "command": "inb_move_left",
99-
"context" : [
99+
"context" : [
100100
{ "key": "setting.ipython_notebook", "operator": "equal", "operand": true },
101101
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
102-
]
102+
]
103103
},
104-
{
104+
{
105105
"keys": ["right"], "command": "inb_move_right",
106-
"context" : [
106+
"context" : [
107107
{ "key": "setting.ipython_notebook", "operator": "equal", "operand": true },
108108
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
109-
]
110-
}
109+
]
110+
}
111111

112112

113113

114114

115-
]
115+
]
116116

Python2.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2886,4 +2886,4 @@
28862886
<key>uuid</key>
28872887
<string>F23DB5B2-7D08-11D9-A709-220D93B6E43C</string>
28882888
</dict>
2889-
</plist>
2889+
</plist>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"color_scheme": "Packages/SublimeIPythonNotebook/ipynb2.hidden-tmTheme"
2+
"color_scheme": "Packages/SublimeIPythonNotebook/ipynb_dark.hidden-tmTheme"
33
}

0 commit comments

Comments
 (0)