# VIM

# Adventures

## Learning VIM while playing a game

### Press any key to start!

© Doron Linder, 2012 - 2019. All rights reserved.

# What is VIM Adventures?

VIM Adventures is an online game based on VIM's keyboard shortcuts (commands, motions and operators). It's the "Zelda meets text editing" game. It's a puzzle game for practicing and memorizing VIM commands (good old VI is also covered, of course). It's an easy way to learn VIM without a steep learning curve.

You play a blinking cursor appearing one day in a semi text based world of Textland inhabited by little people but ruled by bugs. You soon discover that your arrival was foretold by an old prophecy and that you're expected to restore order to the world (in case you didn't make it to level 2 yet...).

# How to play

You start the game with only the ability to move up, down, left, and right. As you progress, you talk to people and collect items and keyboard buttons. Each keyboard button adds to the set of commands you can give the cursor, until you master VIM.

You can also perform operations such as login, load and save game and others using the in-game menu at the bottom of the screen. For a complete list of commands you can type in the command line mode, please type ':help :' (without the quotes).

These instructions are all you need to know. Hints scattered throughout the game help you and ease the learning process. You can't advance to the next level until you master a skill!

# Getting help

The little people of Textland have a lot of helpful tips to share so make sure you talk with each and every one by bumping into them.

In addition, every time you pick up a keyboard key, an explanation of what the key does and how it should be used is displayed. This window can be closed using ESC (as any other window in this game) and you can walk through the example using the '+' and '-' keys. You can get help on additional keys using the syntax ':help {char}' by replacing {char} with the character or word you would like to get help on. You can also type a topic such as 'registers' or 'text-objects' to get help on that topic. See below for a full list of possible arguments for the :help command.

If you don't remember which keys you collected so far, or need to refresh your memory a little, you can click on the keyboard icon in the in-game menu, or type ':keyboard' to see a keyboard with your current available keys highlighted. Clicking or pressing on a key will show a short description of its function.

Stuck in the game and don't know how to proceed? Can't find that key or complete a text? Check out the VIM Adventures facebook page or send us a question to.

# Topics for :help command

The following characters, commands and topics can be used after the :help command:
h j k l : w W e E b B x X r d dd D ~ 0 ^ $ f F t T ; , % z zt zz zb g gg G 1 2 3 4 5 6 7 8 9 count [count] * # n N p P " y yy Y registers :reg "" "- "_ "0 "1 "2 "3 "4 "5 "6 "7 "8 "9 "a "b "c ... "x "y "z "A "B "C ... "X "Y "Z i I a A c cc C s S o O word WORD sentence paragraph { } ( ) [{ ]} [( ]) . text-objects aw iw aW iW as is ap ip a[ a] i[ i] a( a) i( i) a< a> aB iB ab ib i< i> at it a{ a} i{ i} a" i" a' i' a` i` H M L nu nonu nu! nonu! | / ? ` ' m :marks :delm :delmarks :delm! :delmarks! undo u :undo CTRL-R :redo redo

# Enjoy all of VIM Adventures!

Continue learning VIM commands and motions on the quest to save Textland.
Buy a license now for immediate access to all levels and be on your way to VIM mastery!

Buy a Personal License
That's a great offer!
I'd take it if I were you!
Buy License
for a Friend

- 6 months access to VIM Adventures
- 13 fun and engaging levels
- More than 60 commands and motions
- Covers most of the keyboard
- Now for only $25

Buy 30 Minute
License

- 30 minutes access
- A little taste of VIM Adventures
- Now for only $5

Buy a Group
License

- For large group of people
- Shared statistics
- Great for courses
- Perfect for enterprises!

What players say

- Vim Adventures has been immensely helpful in getting me comfortable with all the commands and motions.
- Your game is simply amazing, that's the best and fastest way to learn how to use Vim. Not only, it's very funny.
- Vim adventures is awesome, currently the only thing I use to learn vim. Keep up the good work :)

Shortcuts, commands and motions taught

h j k l : w W e E b B x X r d dd D ~ 0 ^ $ f F t T ; , % z zt zz zb g gg G
digits (1-9) * # n N p P " y yy Y :reg "" "- "_ numbered-registers
letter-registers i I a A c cc C s S o O { } ( ) [{ ]} [( ]) . text-objects
H M L nu | / ? ` ' m :marks :delmarks u CTRL-R buffers (:b :ls) files (:w :e)

It's going to be a lot of fun!

# Copyright & Credits

## Game Design & Programming

This game was designed and programmed by Doron Linder.

© Doron Linder, 2012 - 2019. All rights reserved.

For more information, read the site's Terms of Use and Privacy Policy.

## Artwork

The following artworks are used under the creative commons license:

- "PlantCute PNG" design by Daniel Cook (Lostgarden.com)
- Exit, game state, help & sound icons by Jonas Rask Design - Danish Royalty Free icon pack
- Keyboard, user & medal icons by FatCow Web Hosting - 2400 Free "Farm-Fresh Web Icons"
- Payment card icon by PC.DE - Stuttgart
- Candle icon was taken from Wikipedia candle icon
- Fluffy Clouds by Daniel Gregory Benoy
- Ruler icon by Design Kindle - part of their Build Icons collection.
- Explosion animation by WrathGames Studio
- Law book icon by Lawyer WordPress Themes - part of their icon set.
- Fireworks algorithm and animation adapted from Fireworks by Paul Lewis.
- Gift box icon by Icon-Drawer - part of his Gift Icons collection.
- Clock icon by BlogPerfume - part of the Free Glossy Blogging Icons Set for Bloggers.

## Sounds

The following sounds are used under the creative commons license:

- Invalid command - Computer Error Alert Sound by Mike Koenig
- Happy person - cheer5.ogg by PhreaKsAccount
- Open door - dorm door opening.wav by pagancow
- New skill - ph 1.2 o2b b11 102 b.wav by ERH
- Collect key - menuInc.wav by RunnerPack
- Blocked movement - Wood019.wav by HardPCM
- Bumping into a closed door - TT18x16-LP-CS-v03.wav by quartertone
- Key press - based on a sample from keyboard-typing.wav by Anton
- Appearance - Mystic Flute 1 by Soughtaftersounds
- Text completion - Old Music Box 1 by Soughtaftersounds
- Openning chest - Door Creak Short.mp3 by Percy Duke
- Slam - Metal Door Slam_SoundSmith.wav by Lunardrive
- Lights on - greekkey2.wav by NoiseCollector
- Shaking a tree - bush8.wav by schademans
- Falling down - slide_whistle_down_01.wav by joedeshon
- Yank - suck_pop_01.wav by joedeshon
- Mark - Cartoon_9'' Boing.mp3 by CGEffex
- Star portal appearing - time travelling machine.wav by vedas
- Aura sound - Pizzicato Orchestral Roll 6 by Soughtaftersounds
- TaDa sound - tada1.wav by jobro

# User Statistics

## Unlicensed user

Replay any level you've already unlocked by typing :level <level-number> (e.g. :level 6).

Show in-game statistics by typing ':set stats', and hide them by typing ':set nostats'.

Press Esc to return to the game

There's so much more...

For more information click here

You still haven't read and accepted VIM Adventures' Terms of Use and Privacy Policy. Please do so now, as you'll be bound by them if you continue using this site. I accept the Terms of Use and the Privacy Policy

# Nnnnoooooooo... :(

You can't save the world using an ancient browser... Everybody knows that!

Your browser doesn't support the canvas element required for running this game.

Please upgrade to the latest version of Chrome, Firefox or IE and come back.

See you soon!

Here it's going to be!!!

Please fill in a valid email address to be linked to your license. This email address will function as your username when you login and will also be used to reset your password in case you forget it.

I accept VIM Adventures' Terms of Use and Privacy Policy.
Proceed to pay with PayPal

Please fill in the recipient's email address. This email address will be used during login and password reset.

Please fill in your own email address. We'll send a printable gift license to this address for you to print or forward to the recipient if you'd like.

Proceed to pay with PayPal

Please fill in a valid email address to be linked to your license. This email address will function as your username when you login and will also be used to reset your password in case you forget it.

I accept VIM Adventures' Terms of Use and Privacy Policy.

Once logged in, I confirm I have to logout to pause the timer.

Proceed to pay with PayPal

Login
Remember me on this machine
I have a license but no password
I forgot my password

I've already set my password
Set Password

I remember my password
Send Reset Email

OK, OK, OK...

Yes, VIM allows using the cursor keys in order to move around so this game also allows it.

However, for a pure VIM experience you should stick to using 'h', 'j', 'k' and 'l'. It's considered more efficient since you don't have to move your hand from the home row when you're typing.

But since this game allows both, you can decide what's best for you.

Press Esc to return to the game.

# Oops, Multiple Sessions

Another VIM-Adventures session with your username was opened.

In order to prevent data corruption this session had to be restarted.

If you didn't start another session, somebody could be using your credentials.

It might be a good time to change your password.

Please press space, ESC or Enter to close this dialog.

# License Expired

## Unlicensed user

There is no time left in your license.

Buy a 30 Minutes
License for $5
Buy a 6 Months
License for $25
That's a great offer!
I'd take it if I were you!

Please press space, ESC or Enter to close this dialog.

But... wait!
What REALLY
happened on
level 13??