|
1 | | -[ |
2 | | - { |
| 1 | +[ |
| 2 | + { |
3 | 3 | "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 }] |
5 | 5 | }, |
6 | | - { |
| 6 | + { |
7 | 7 | "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 }] |
9 | 9 | }, |
10 | | - { |
11 | | - "keys": ["backspace"], "command": "inb_backspace", |
| 10 | + { |
| 11 | + "keys": ["backspace"], "command": "inb_backspace", |
12 | 12 | "context": |
13 | 13 | [ |
14 | 14 | { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }, |
15 | 15 | { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true } |
16 | 16 | ] |
17 | 17 | }, |
18 | | - { |
| 18 | + { |
19 | 19 | "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 }] |
21 | 21 | }, |
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 }] |
25 | 25 | }, |
26 | 26 |
|
27 | | - { |
| 27 | + { |
28 | 28 | "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 }] |
30 | 30 | }, |
31 | | - { |
| 31 | + { |
32 | 32 | "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 }] |
34 | 34 | }, |
35 | | - { |
| 35 | + { |
36 | 36 | "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 }] |
38 | 38 | }, |
39 | | - { |
| 39 | + { |
40 | 40 | "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 }] |
42 | 42 | }, |
43 | | - { |
| 43 | + { |
44 | 44 | "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 }] |
46 | 46 | }, |
47 | | - { |
| 47 | + { |
48 | 48 | "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 }] |
50 | 50 | }, |
51 | | - { |
| 51 | + { |
52 | 52 | "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 }] |
54 | 54 | }, |
55 | | - { |
| 55 | + { |
56 | 56 | "keys": ["up"], "command": "inb_move_up", |
57 | | - "context" : [ |
| 57 | + "context" : [ |
58 | 58 | { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }, |
59 | 59 | { "key": "auto_complete_visible", "operator": "equal", "operand": false } |
60 | | - ] |
| 60 | + ] |
61 | 61 | }, |
62 | | - { |
| 62 | + { |
63 | 63 | "keys": ["ctrl+up"], "command": "inb_move_to_cell", "args": {"up" : true}, |
64 | | - "context" : [ |
| 64 | + "context" : [ |
65 | 65 | { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }, |
66 | 66 | { "key": "auto_complete_visible", "operator": "equal", "operand": false } |
67 | | - ] |
| 67 | + ] |
68 | 68 | }, |
69 | | - { |
| 69 | + { |
70 | 70 | "keys": ["ctrl+down"], "command": "inb_move_to_cell", "args": {"up" : false}, |
71 | | - "context" : [ |
| 71 | + "context" : [ |
72 | 72 | { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }, |
73 | 73 | { "key": "auto_complete_visible", "operator": "equal", "operand": false } |
74 | | - ] |
| 74 | + ] |
75 | 75 | }, |
76 | | - { |
| 76 | + { |
77 | 77 | "keys": ["ctrl+m", "p"], "command": "inb_move_to_cell", "args": {"up" : true}, |
78 | | - "context" : [ |
| 78 | + "context" : [ |
79 | 79 | { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }, |
80 | 80 | { "key": "auto_complete_visible", "operator": "equal", "operand": false } |
81 | | - ] |
| 81 | + ] |
82 | 82 | }, |
83 | | - { |
| 83 | + { |
84 | 84 | "keys": ["ctrl+m", "n"], "command": "inb_move_to_cell", "args": {"up" : false}, |
85 | | - "context" : [ |
| 85 | + "context" : [ |
86 | 86 | { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }, |
87 | 87 | { "key": "auto_complete_visible", "operator": "equal", "operand": false } |
88 | | - ] |
| 88 | + ] |
89 | 89 | }, |
90 | | - { |
| 90 | + { |
91 | 91 | "keys": ["down"], "command": "inb_move_down", |
92 | | - "context" : [ |
| 92 | + "context" : [ |
93 | 93 | { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }, |
94 | 94 | { "key": "auto_complete_visible", "operator": "equal", "operand": false } |
95 | | - ] |
| 95 | + ] |
96 | 96 | }, |
97 | | - { |
| 97 | + { |
98 | 98 | "keys": ["left"], "command": "inb_move_left", |
99 | | - "context" : [ |
| 99 | + "context" : [ |
100 | 100 | { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }, |
101 | 101 | { "key": "auto_complete_visible", "operator": "equal", "operand": false } |
102 | | - ] |
| 102 | + ] |
103 | 103 | }, |
104 | | - { |
| 104 | + { |
105 | 105 | "keys": ["right"], "command": "inb_move_right", |
106 | | - "context" : [ |
| 106 | + "context" : [ |
107 | 107 | { "key": "setting.ipython_notebook", "operator": "equal", "operand": true }, |
108 | 108 | { "key": "auto_complete_visible", "operator": "equal", "operand": false } |
109 | | - ] |
110 | | - } |
| 109 | + ] |
| 110 | + } |
111 | 111 |
|
112 | 112 |
|
113 | 113 |
|
114 | 114 |
|
115 | | -] |
| 115 | +] |
116 | 116 |
|
0 commit comments