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

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

  • Best score: 7
  • Best player score: 7
  • Position: #582 / 1915
  • Number of attempts: 5
From argument to object - 1566 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: #440 / 471
  • Number of attempts: 1
Just the middle - 11620 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2407 / 4258
  • Number of attempts: 5
Basic renumbering - 5737 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 34
  • Position: #1245 / 1281
  • Number of attempts: 1
Vice versa - 8021 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1295 / 2158
  • Number of attempts: 2
Separating firstname & lastname - 183 entries

Seperate named with equal tabs.

  • Best score: 19
  • Best player score: 37
  • Position: #61 / 63
  • Number of attempts: 1
Collect List - 4342 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 18
  • Position: #1080 / 1200
  • Number of attempts: 2
Space out the alphabet - 1696 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 33
  • Position: #444 / 458
  • Number of attempts: 2
I forgot quotes - 16239 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3328 / 4225
  • Number of attempts: 3
Words in parens - 13054 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #771 / 3991
  • Number of attempts: 5
The name of the game - 696 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 12
  • Position: #325 / 369
  • Number of attempts: 3
Vertical Limit - 2637 entries

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

  • Best score: 21
  • Best player score: 36
  • Position: #741 / 778
  • Number of attempts: 1
switch variable - 5128 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 13
  • Position: #1215 / 1764
  • Number of attempts: 2
Letters are numbers - 179 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: 34
  • Position: #72 / 78
  • Number of attempts: 1
ʎɐɹ
Twitter:

Aspiring psychonaut from the Texas/Mexico border.

entered into 14 challenges

contributed 0 challenges