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

Words in parens - 13054 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #119 / 3991
  • Number of attempts: 2
Shuffle and Sort - 244 entries

The values where sorted incorrectly. Get them back to how they are supposed to be

  • Best score: 17
  • Best player score: 47
  • Position: #68 / 70
  • Number of attempts: 1
constructor - 198 entries

coding a constructor for a simple class

  • Best score: 59
  • Best player score: 221
  • Position: #59 / 62
  • Number of attempts: 1
switch variable - 5128 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 13
  • Position: #1023 / 1764
  • Number of attempts: 2
formatted text to markdown - 193 entries

You're converting some posts from an old blog to markdown. The formatted text is far closer to the finished product than the html markup, so it seems like a good place to start. Word wrapping seems to be the main area for optimization.

  • Best score: 70
  • Best player score: 75
  • Position: #23 / 69
  • Number of attempts: 5
Make it more readable - 2039 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 16
  • Position: #334 / 658
  • Number of attempts: 1
remove dupes from array - 1377 entries

given a random string that contains a ruby-esque array, make sure that there are no duplicate elements

  • Best score: 17
  • Best player score: 25
  • Position: #240 / 341
  • Number of attempts: 2
Insert a Markdown link - 473 entries

Put a link in a markdown document, using the after-the-paragraph format.

  • Best score: 22
  • Best player score: 24
  • Position: #61 / 157
  • Number of attempts: 5
Numbering a List - 1969 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 20
  • Position: #306 / 661
  • Number of attempts: 1
Philippe Mongeau
Twitter:

Salut!

entered into 9 challenges

contributed 0 challenges