Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put [challenge ID]

Played Challenges

Java Array2List - 214 entries

Convert an java array initializer into a list.

  • Best score: 67
  • Best player score: 83
  • Number of attempts: 2
Assignment Alignment - 695 entries

line up the operators. Use spaces, not tabs.

  • Best score: 18
  • Best player score: 32
  • Number of attempts: 1
HTML to Haml - 719 entries

Help convert this HTML page to Haml.

  • Best score: 23
  • Best player score: 31
  • Number of attempts: 4
Generate English Alphabets - 400 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 28
  • Number of attempts: 1
Make it more readable - 1755 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 17
  • Number of attempts: 1
switch variable - 4302 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 13
  • Number of attempts: 3
imports alignment (python) - 577 entries

Align as one import per line.

  • Best score: 17
  • Best player score: 26
  • Number of attempts: 2
The Cake is a Lie - 1119 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 12
  • Number of attempts: 2
Split line with dots - 1826 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 18
  • Number of attempts: 1
A Simple One - 840 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 1
Reformat long lines - 316 entries

Rearrange this ruby method call to put each parameter on its own line. Could become a useful macro.

  • Best score: 15
  • Best player score: 18
  • Number of attempts: 5
Shebangs for all - 1593 entries

We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.

  • Best score: 11
  • Best player score: 20
  • Number of attempts: 2
Numbering a List - 1728 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 24
  • Number of attempts: 1
Rotating Philosophers Problem - 358 entries

Can you help the philosophers find a good place to sit before they get five forks and spaghetti?

  • Best score: 29
  • Best player score: 32
  • Number of attempts: 4
Recursively Palindrome - 220 entries

Note that there are 2^6-1 characters.

  • Best score: 21
  • Best player score: 26
  • Number of attempts: 5

Contributed Challenges

Assignment Alignment - 695 entries

line up the operators. Use spaces, not tabs.

Numbering a List - 1728 entries

Pretty simple, number the list.

Write Setters and Getters for PHP - 86 entries

Just simple automation of writing Setters and Getters like Doctrine might use.

Kevin Hamer
Twitter:

I make things go.

entered into 15 challenges

contributed 3 challenges