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

Pairs of numbers - 316 entries

Line 1 represents x, line 2 y-data. Bring the corresponding pairs in the form "[x,y]\n"

  • Best score: 26
  • Best player score: 38
  • Number of attempts: 2
Delete unwanted lines - 330 entries

Delete all lines which does not end in "o.."

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
switch variable - 4141 entries

how fast can you switch two variable ?

  • Best score: 3
  • Best player score: 28
  • Number of attempts: 2
Search and Replace 0 - 3879 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 14
  • Number of attempts: 2
Simple text editing with Vim - 10011 entries

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

  • Best score: 13
  • Best player score: 18
  • Number of attempts: 2
Words in parens - 10474 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 8
Ruby 1.9 hashes - 1038 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: 12
  • Best player score: 17
  • Number of attempts: 1
Peter Lustig
Twitter:

entered into 7 challenges

contributed 0 challenges