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 - 1094 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: #167 / 186
  • Number of attempts: 1
Rearrange array to one line - 521 entries

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

  • Best score: 13
  • Best player score: 26
  • Position: #96 / 129
  • Number of attempts: 1
Copy punctuation - 419 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: #79 / 106
  • Number of attempts: 1
Insert column data on Confluence-style table - 445 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: #81 / 107
  • Number of attempts: 1
Readable Rubyhash - 263 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: #91 / 94
  • Number of attempts: 2
Antonio Cormoranes
Twitter:

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

entered into 5 challenges

contributed 0 challenges