forked from egaga/openvim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtutorial.html
More file actions
131 lines (106 loc) · 5.24 KB
/
tutorial.html
File metadata and controls
131 lines (106 loc) · 5.24 KB
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!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="stylesheet" type="text/css" href="css/tutorial.css?version={VERSION}" />
<link rel="stylesheet" type="text/css" href="css/virtual_keyboard.css?version={VERSION}" />
<link rel="icon" type="image/png" href="icon.png" />
<title>Interactive Vim tutorial</title>
<!-- GENERAL (mostly) -->
<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/tutorial/tutorial_engine.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/tutorial/sections.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/virtual_keyboard.js?version={VERSION}"></script>
<script type="text/Javascript" src="js/tutorial/init_tutorial.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");
const urlParams = new URLSearchParams(window.location.search);
google.setOnLoadCallback(function () {
if (urlParams.has('layout')) {
init_tutorial(urlParams.get('layout'));
} else {
init_tutorial();
}
});
</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 id="main">
<div class="navigation">
<span style="font-size:25px; cursor:pointer; color: white; margin: 0 10px;" onclick="openNav()">☰</span>
<a href="tutorial.html" class="selected">Tutorial</a>
<a href="sandbox.html">Practice</a>
<a href="development.html">Development</a>
<!--
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://www.openvim.com/tutorial.html" data-text="OpenVim - Interactive Vim tutorial" 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 class="screen_view">
<div class="content">
<h3 class="title"></h3>
<h3 class="info"></h3>
<div class="statusbar">
<div class="statustext"></div>
<div class="cursorlocation"></div>
<div style="clear: both;"></div>
</div>
<div class="text editor"></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 style="clear: both;"></div>
<div class="keyboard_wrapper">
<p class="keyboard_description">Virtual keyboard (shows keys you need to press on your physical keyboard; not
clickable)</p>
</div>
</div>
</div>
<div class="section_menu" id="mySidenav">
<div class="headline">Sections</div>
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<div class="section_menu_append_target" style="clear: both;"></div>
</div>
</body>
<script>
function openNav() {
document.getElementById("mySidenav").style.width = "340px";
document.getElementById("main").style.marginLeft = "340px";
}
function closeNav() {
document.getElementById("mySidenav").style.width = "0";
document.getElementById("main").style.marginLeft = "0";
}
</script>
</html>