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

One number per line - 12472 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Number of attempts: 3
Search and Replace 0 - 4065 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 15
  • Number of attempts: 1
V to the i - 3874 entries

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

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
Swap values - 3483 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 4
For all cases. - 104 entries

In this case... change it! :) Watch the line.

  • Best score: 8
  • Best player score: 8
  • Number of attempts: 1
Space out the alphabet - 1358 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 25
  • Number of attempts: 1
Just the middle - 9090 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
Swap assigned value - 496 entries

Simple problem but looking for interesting solutions.

  • Best score: 10
  • Best player score: 13
  • Number of attempts: 4
Guillaume
Twitter:

code, design, poetry - #juniorDevForLife

entered into 8 challenges

contributed 0 challenges