-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdata.json
76 lines (76 loc) · 2.75 KB
/
data.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"how":[
{
"id":0,
"safe": 1,
"safe_info": "This will quit vim without saving the modification.",
"command": "esc+:+q+a+!",
"command_explained": "The <Esc> should get the editor back to Normal mode. Then <:> enters a vim command and <q>+<a>+<!> says to quit all without saving.",
"weight":3
},
{
"id":1,
"safe": 0,
"safe_info": "It will save your file and exit vim.",
"command": "esc+:+x",
"command_explained": "The <Esc> should get the editor back to Normal mode. Then <:> enters a vim command and <x> says to save the current file and quit.",
"weight":3
},
{
"id":2,
"safe": 2,
"safe_info": "Progress might be loss, damages might happen to the computer.",
"command": "Unplug the computer and wait for the battery to drain (if any).",
"command_explained": "Unpluging the computer will kill the operating system and thus exit vim. It might be required to wait for the battery to drain if any.",
"weight":1
},
{
"id":3,
"safe": 1,
"safe_info": "Progress might be loss.",
"command": "esc+ctrl+z",
"command_explained": "This will put vim in the background, thus exiting vim. Note that vim is still running and it might be required to kill it manually.",
"weight":2
},
{
"id":4,
"safe": 0,
"safe_info": "It will save your file and exit vim.",
"command": "esc+Z+Z",
"command_explained": "The <Esc> should get the editor back to Normal mode. Then <Z>+<Z> will save and quit.",
"weight":3
},
{
"id":5,
"safe": 2,
"safe_info": "Progress might be loss, damages might happen to the computer.",
"command": "Take a hammer, violently smash your computer into pieces.",
"command_explained": "Use the force, luke.",
"weight":1
},
{
"id":6,
"safe": 0,
"safe_info": "This will save your fille and quit vim.",
"command": "esc+:+w+q",
"command_explained": "The <Esc> should get the editor back to Normal mode. Then <:> enters a vim command and <w>+<q> says to vim to save and quit.",
"weight":3
},
{
"id":7,
"safe": 1,
"safe_info": "This will quit vim without saving the modification.",
"command": "esc+:+c+q",
"command_explained": "The <Esc> should get the editor back to Normal mode. Then <:> enters a vim command and <c>+<q> says to quit without saving with a nonzero exit code.",
"weight":3
},
{
"id":8,
"safe": 1,
"safe_info": "It will exit without saving any modification.",
"command": "esc+Z+Q",
"command_explained": "The <Esc> should get the editor back to Normal mode. Then <Z>+<Q> will quit without saving.",
"weight":3
}
]
}