Skip to content
Newer
Older
100644 31 lines (20 sloc) 1.32 KB
fbfcc63 @igrigorik link header in readme
igrigorik authored
1 # [VimGolf.com](http://www.vimgolf.com) Client
3fcf1e7 @igrigorik add readme
igrigorik authored
2
3 Real Vim ninjas count every keystroke - do you? Head on over to vimgolf.com, pick a challenge, and show us what you've got! The rules are simple:
4
5 * Each challenge provides an input file, and an output file
6 * Your goal is to modify the input file such that it matches the output
7 * Once you install the vimgolf CLI, pick a challenge, open a prompt and put away!
8
9 When you launch a challenge from the command line, it will be downloaded from the site and a local Vim session will be launched, which will log every keystroke you make. Once you're done, simply *:wq* (write and quit) the session and we will score your input and upload it back to the site!
10
11 Let the games begin.
12
13 ## Setup & Play
14
15 <pre>
16 1. $> gem install vimgolf
17 2. $> vimgolf setup (go to vimgolf.com, sign in, and grab your API key)
18 3. Pick a challenge on vimgolf.com
19 4. $> vimgolf put [challenge ID]
20 </pre>
21
22 ## Todo's & Wishlist
23
24 * At the moment, scoring is done based on the simplest possible model: bytesize of your Vim script file. Instead, we'd like to assign a score based on shortcuts and key-combinations used. Ex: visual mode gets you extra x points, etc.
25 * Vim script parser - distinguish between different modes, keystrokes, etc.
26
27 Other patches, tips & ideas are welcome!
28
29 ## License
30
31 (MIT License) - Copyright (c) 2010 Ilya Grigorik
Something went wrong with that request. Please try again.