-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
86 lines (70 loc) · 2.79 KB
/
index.html
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
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<style type="text/css" media="screen">
html, body {
font-size: 12px;
overflow: hidden;
margin: 0;
padding: 0;
height: 100%;
width: 100%;
}
</style>
</head>
<body>
<textarea id="source" style="display: none">/*
This is a VIM mode for ACE
k
Move around: Use the cursor keys, or "h" to go left, h l
"j" to go down, "k" to go up, "l" to go right. j
a Append text after the cursor [count] times. If the
cursor is in the first column of an empty line Insert
starts there.
A Append text at the end of the line [count] times.
i Insert text before the cursor [count] times.
I Insert text before the first non-blank in the line
[count] times.
o Begin a new line below the cursor and insert text,
repeat [count] times.
O Begin a new line above the cursor and insert text,
repeat [count] times.
[x]s Delete [count] characters [into register x] and start
insert (s stands for Substitute).
[x]S Delete [count] lines [into register x] and start
insert.
[x]x Delete [count] characters under and after the cursor
[into register x] (not |linewise|).
[x]X Delete [count] characters before the cursor [into
register x].
[x]dd Delete [count] lines [into register x] |linewise|.
G Goto line [count], default last line, on the first
non-blank character |linewise|. If 'startofline' not
set, keep the same column.
G is a one of |jump-motions|.
e Forward to the end of word [count] |inclusive|.
Does not stop in an empty line.
b [count] words backward. |exclusive| motion.
^ To the first non-blank character of the line.
|exclusive| motion.
$ To the end of the line. When a count is given also go
[count - 1] lines downward |inclusive|.
*/</textarea>
<div id="editor"></div>
<input id="cockpitInput" type="text"/>
<script type="text/javascript">
var require = {
paths: {
ace: "../support/ace/lib/ace",
cockpit: "../support/cockpit/lib/cockpit",
pilot: "../support/pilot/lib/pilot",
vice: "../support/vice",
launcher: "../demo/launcher",
}
};
</script>
<script src="./demo/require.js" data-main="./demo/boot.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>