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

The name of the game - 671 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 13
  • Position: #330 / 362
  • Number of attempts: 2
SFD-ROC: vimvimvim - 1606 entries

Oh no, this line is longer than 80 chars... put each 'vim' on a new line.

  • Best score: 8
  • Best player score: 15
  • Position: #397 / 446
  • Number of attempts: 4
Python to Ruby - 204 entries

Convert this Python code to Ruby. NOTE: This program likely won't run.

  • Best score: 24
  • Best player score: 43
  • Position: #49 / 61
  • Number of attempts: 1
Inconsistent real estate paste - 216 entries

Format a hand-typed real estate listing that uses inconsistent punctuation into four sections

  • Best score: 24
  • Best player score: 57
  • Position: #51 / 58
  • Number of attempts: 3
Vertical Limit - 2552 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 29
  • Position: #619 / 757
  • Number of attempts: 3
replacing each line of a block selection - 3001 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 29
  • Position: #624 / 778
  • Number of attempts: 1
Remove noise from HTTP log - 717 entries

This piece of log (from the year 2000) contains some irrelevant data. We only want to see the HTTP method and resource.

  • Best score: 15
  • Best player score: 23
  • Position: #253 / 273
  • Number of attempts: 4
Remove semicolons after expressions - 654 entries

A follow-up for http://vimgolf.com/challenges/4fc9d767d3a0d4000100000e.

  • Best score: 6
  • Best player score: 9
  • Position: #236 / 263
  • Number of attempts: 3
The meaning - 575 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Position: #154 / 363
  • Number of attempts: 2
Whitespace, empty lines and tabs - 3763 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 30
  • Position: #543 / 807
  • Number of attempts: 4
Simple text editing with Vim - 13012 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 20
  • Position: #2800 / 3743
  • Number of attempts: 4
Reformat/Refactor a Golfer Class - 7172 entries

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

  • Best score: 28
  • Best player score: 46
  • Position: #1207 / 1760
  • Number of attempts: 1
Alec Chen
Twitter:

音樂雜食性動物

entered into 12 challenges

contributed 0 challenges