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

A HAPPY NEW YEAR 2014 ! - 10511 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 18
  • Position: #3378 / 3628
  • Number of attempts: 2
Words in parens - 12682 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #295 / 3905
  • Number of attempts: 3
abcd > a b c d - 250 entries

transform the single spaces into 4 spaces repeat for each line

  • Best score: 15
  • Best player score: 15
  • Position: #25 / 197
  • Number of attempts: 1
lamb had a little Mary - 538 entries

"Mary" and "lamb" are swapped. Unswap them. Fast as you can.

  • Best score: 16
  • Best player score: 36
  • Position: #91 / 153
  • Number of attempts: 2
Unwrap the text of an email message - 157 entries

Reverse of "Wrap the text of an email message to 79 characters". gq and gw are great for wrapping paragraphs. But sometimes other programs choke on your wrapped lines. What's the best way to un-gq?

  • Best score: 16
  • Best player score: 16
  • Position: #10 / 64
  • Number of attempts: 2
Let's play some Ivmgolf - 979 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 7
  • Position: #19 / 407
  • Number of attempts: 5
Simple text editing with Vim - 11391 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #250 / 3347
  • Number of attempts: 8
FrantiĊĦek Hartman
Twitter:

Senior Software Engineer at @hazelcast

entered into 7 challenges

contributed 0 challenges