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 - 4639 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1295 / 1856
  • Number of attempts: 3
Split line with dots - 2098 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 27
  • Position: #566 / 622
  • Number of attempts: 3
From argument to object - 1262 entries

This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?

  • Best score: 17
  • Best player score: 27
  • Position: #391 / 417
  • Number of attempts: 1
Separating firstname & lastname - 112 entries

Seperate named with equal tabs.

  • Best score: 19
  • Best player score: 30
  • Position: #43 / 52
  • Number of attempts: 4
Collect List - 4178 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 18
  • Position: #1049 / 1166
  • Number of attempts: 4
Space out the alphabet - 1590 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 40
  • Position: #427 / 433
  • Number of attempts: 1
I forgot quotes - 15728 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3242 / 4114
  • Number of attempts: 2
Words in parens - 12736 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #891 / 3919
  • Number of attempts: 3
The name of the game - 627 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Position: #240 / 343
  • Number of attempts: 1
Vertical Limit - 2367 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 26
  • Position: #468 / 716
  • Number of attempts: 4
The Universal Declaration of Human Rights, Article 1 - 141 entries

Somebody's got this slightly muddled up. See how quickly you can fix it. (I made this to experiment with buffers. I'm not actually sure whether this is faster with buffers or without.)

  • Best score: 24
  • Best player score: 187
  • Position: #67 / 67
  • Number of attempts: 1
Letters are numbers - 135 entries

Letters and numbers are interchangeable. A lot of programming languages give you simple ways to convert individual letters to hex, binary and decimal but does Vim?

  • Best score: 20
  • Best player score: 41
  • Position: #67 / 68
  • Number of attempts: 1
Mark Watson
Twitter:

entered into 12 challenges

contributed 0 challenges