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

Python Hello World! Reformatting - 837 entries

A novice Python using prints Hello World! and a pro shows him different way. Using vim to get into pro style from novice, win the challenge.

  • Best score: 39
  • Best player score: 41
  • Number of attempts: 1
HTML to Haml - 738 entries

Help convert this HTML page to Haml.

  • Best score: 23
  • Best player score: 36
  • Number of attempts: 2
Saving the hashes(#) - 1806 entries

The following file is copied from vimcasts.org(Its only for learning purpose,hope the site owner doesn't mind it), its probably the easiest of challenges.Our goal is to delete every line which doesn't contain a hash signs. The remaining hash signs with numbers are then sorted to get the final output.

  • Best score: 20
  • Best player score: 26
  • Number of attempts: 3
Basic renumbering - 4854 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 20
  • Number of attempts: 1
Swap values - 3790 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 4
Reformat/Refactor a Golfer Class - 5570 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 40
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 9782 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 3
Collect List - 3634 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 16
  • Number of attempts: 1
Space out the alphabet - 1420 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 17
  • Number of attempts: 6
switch variable - 4451 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 3
V to the i - 4150 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
Split line with dots - 1922 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 16
  • Number of attempts: 2
Words in parens - 11443 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 1
-a-b-c- - 2711 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 4
I forgot quotes - 12863 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Number of attempts: 2
niels aamloos
Twitter:

entered into 15 challenges

contributed 0 challenges