Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.1.0
Fetching contributors…

Cannot retrieve contributors at this time

87 lines (70 sloc) 2.862 kb
<!DOCTYPE html>
<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%;
<textarea id="source" style="display: none">/*
This is a VIM mode for ACE
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
[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|.
<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 src="./demo/require.js" data-main="./demo/boot.js" type="text/javascript" charset="utf-8"></script>
Jump to Line
Something went wrong with that request. Please try again.