forked from egaga/openvim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsandbox.html
100 lines (86 loc) · 4.82 KB
/
sandbox.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!doctype html>
<html lang='en' xmlns='http://www.w3.org/1999/xhtml'>
<head>
<meta charset='utf-8' />
<link rel="stylesheet" type="text/css" href="css/css.css?version={VERSION}" />
<link rel="icon" type="image/png" href="icon.png"/>
<title>Interactive Vim tutorial - sandbox</title>
<!-- GENERAL (mostly) -->
<!--
<script type="text/Javascript" src="js/jquery.js"></script>
-->
<script type="text/Javascript" src="js/engine/messager.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/view/blinking.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/engine/generic.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/engine/document.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/view/comparison.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/view/context_help.js?version={VERSION}"></script>
<!-- VIM specific parts -->
<script type="text/Javascript" src="js/engine/executor.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/engine/interpreter.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/view/view.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/commands/searchcommands.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/commands/visualcommands.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/commands/visualblockcommands.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/commands/timescommands.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/commands/commands.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/view/event.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/init.js?version={VERSION}"></script>
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("jquery", "1.6.4");
google.setOnLoadCallback(function() {
init_vim();
});
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-1334187-4']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<div class="navigation">
<a href="tutorial.html">Tutorial</a>
<a href="sandbox.html" class="selected">Practice</a>
<a href="development.html">Development</a>
<!--
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://www.openvim.com/sandbox.html" data-text="OpenVim - Interactive Vim sandbox" data-count="horizontal" data-via="egaga">Tweet</a><script type="text/javascript" src="https://platform.twitter.com/widgets.js"></script>
-->
<a class="bug_or_request" href="https://github.com/egaga/openvim/issues/new">Bugs</a>
</div>
<div style="margin-left: 15px">
<p>Here you can practice Vim with context-aware help menu. <br>e.g. if you press 'd', you see that the list on the right changes: it will show (some of the) Vim command combinations that start with 'd'.</p>
</div>
<div class="screen_view active_context">
<div class="content">
<div class="statusbar">
<div class="statustext"></div>
<div class="cursorlocation"></div>
<div style="clear: both;"></div>
</div>
<div class="text editor">
Now it is plain that everything which is a subject of praise is praised for being of a certain kind and bearing a certain relation to something else:!LINE_BREAK!for instance, the just, and the valiant, and generally the good man, and virtue itself, we praise because of the actions and the results: and the strong man, !LINE_BREAK!and the quick runner, and so forth, we praise for being of a certain nature and bearing a certain relation to something good and excellent (and this is illustrated by attempts to praise the gods;!LINE_BREAK!for they are presented in a ludicrous aspect by being referred to our standard, and this results from the fact, that all!LINE_BREAK!– Aristotle
</div>
<div class="searchbar">
<span class="searchPrefix">/</span>
<span class="searchText"></span>
<span class="searchHelp"><Enter to find></span>
</div>
<div style="clear: both;"></div>
</div>
<div class="sidebar">
<h4>Context-Aware Actions</h4>
<h4 class="context_pressed"></h4>
<p class="command-mode"></p>
<p class="insert-mode"></p>
</div>
<div style="clear: both;"></div>
</div>
</body>
</html>