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

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

  • Best score: 7
  • Best player score: 8
  • Position: #1309 / 1887
  • Number of attempts: 3
Split line with dots - 2131 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 27
  • Position: #573 / 633
  • Number of attempts: 3
From argument to object - 1481 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: #425 / 453
  • Number of attempts: 1
Separating firstname & lastname - 121 entries

Seperate named with equal tabs.

  • Best score: 19
  • Best player score: 30
  • Position: #47 / 56
  • Number of attempts: 4
Collect List - 4267 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 18
  • Position: #1069 / 1188
  • Number of attempts: 4
Space out the alphabet - 1630 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 40
  • Position: #436 / 442
  • Number of attempts: 1
I forgot quotes - 15946 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3284 / 4166
  • Number of attempts: 2
Words in parens - 12868 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #901 / 3950
  • Number of attempts: 3
The name of the game - 654 entries

End up with the name of the game.

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

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

  • Best score: 21
  • Best player score: 26
  • Position: #485 / 748
  • Number of attempts: 4
The Universal Declaration of Human Rights, Article 1 - 149 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: #70 / 70
  • Number of attempts: 1
Letters are numbers - 154 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: #73 / 74
  • Number of attempts: 1
Mark Watson
Twitter:

entered into 12 challenges

contributed 0 challenges