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

Rearrange array to single level - 1528 entries

The goal is to flatten the array into a single list and remove any empty elements.

  • Best score: 14
  • Best player score: 54
  • Position: #226 / 254
  • Number of attempts: 1
Rearrange array to one line - 719 entries

Rearrange the array content on only one line, and remove trailing commas

  • Best score: 13
  • Best player score: 26
  • Position: #129 / 174
  • Number of attempts: 1
Copy punctuation - 599 entries

I want to copy the last line’s brackets, quotes, and commas to each line. How?

  • Best score: 19
  • Best player score: 48
  • Position: #110 / 149
  • Number of attempts: 1
Insert column data on Confluence-style table - 474 entries

Add ip addresses into new "IP" column based on the last digits from the "Server" column

  • Best score: 33
  • Best player score: 72
  • Position: #84 / 110
  • Number of attempts: 1
Readable Rubyhash - 274 entries

Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!

  • Best score: 23
  • Best player score: 49
  • Position: #93 / 97
  • Number of attempts: 2
Antonio Cormoranes
Twitter:

аргентинобандерівець

entered into 5 challenges

contributed 0 challenges