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

V to the i - 4824 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Position: #1119 / 1899
  • Number of attempts: 1
Vice versa - 7968 entries

Little role switching.

  • Best score: 12
  • Best player score: 13
  • Position: #702 / 2144
  • Number of attempts: 4
comments galore - 1069 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 11
  • Position: #320 / 428
  • Number of attempts: 1
Angular naming conventions - 326 entries

In angular, a directive name follows the camelCase convention. When the directive is used in an HTML template, the words are instead separated by a dash. Go from to the other the fastest!

  • Best score: 18
  • Best player score: 20
  • Position: #72 / 119
  • Number of attempts: 1
Collect List - 4308 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 13
  • Position: #557 / 1192
  • Number of attempts: 2
Top X - 212 entries

The End File is the Top 10 Vimgolf Leaderboard at June 29, 2013. This is a second version, with a great contribution of @udioica. X is ten in Roman,a numeric system in ancient Rome

  • Best score: 18
  • Best player score: 28
  • Position: #41 / 71
  • Number of attempts: 2
Words in parens - 12969 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1243 / 3970
  • Number of attempts: 1
Pairs of numbers - 364 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: 33
  • Position: #54 / 137
  • Number of attempts: 3
Let's play some Ivmgolf - 1126 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 9
  • Position: #212 / 447
  • Number of attempts: 1
Switch function arguments - 2152 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 13
  • Position: #381 / 667
  • Number of attempts: 1
Simple text editing with Vim - 13092 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1506 / 3765
  • Number of attempts: 3
Sinclair Desaud
Twitter:

entered into 11 challenges

contributed 0 challenges