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

Space out the alphabet - 1318 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 24
  • Number of attempts: 4
remove all lines in first part - 141 entries

From the second part, remove all lines in the first part. It can be useful when you have done something from a long list, you want to know what is not done yet!

  • Best score: 13
  • Best player score: 19
  • Number of attempts: 1
The Cake is a Lie - 1106 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 10
  • Number of attempts: 1
V to the i - 3693 entries

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

  • Best score: 7
  • Best player score: 12
  • Number of attempts: 1
Happy TvvO - 344 entries

Don’t forget the past, learn from it. Happy New Year.

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 2
camel riding - 678 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 19
  • Number of attempts: 2
readability - 285 entries

Make the code readable by adding some spaces

  • Best score: 18
  • Best player score: 20
  • Number of attempts: 2
learn vim in short time - 178 entries

so happy to learn vim.because vim is awesome

  • Best score: 8
  • Best player score: 9
  • Number of attempts: 2
Don't know what this is - 1669 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 2
Let's play some Ivmgolf - 879 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 1
Mute the second method of this script - 404 entries

prepend a # infront of every line of the second method

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
Shuffled numbers - 199 entries

Each number is paired with the number it should follow. That's enough information to put them in order.

  • Best score: 15
  • Best player score: 16
  • Number of attempts: 2
-a-b-c- - 2474 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 17
  • Number of attempts: 1
Daniel Byron
Twitter:

entered into 13 challenges

contributed 0 challenges