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

Wrap the text of an email message to 79 characters - 565 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 5
  • Position: #238 / 348
  • Number of attempts: 1
Number Sort - 283 entries

sort the list of newline-separated numbers incrementally. Numbers are in the range 1 to 1000, with 500 missing

  • Best score: 9
  • Best player score: 9
  • Position: #70 / 151
  • Number of attempts: 2
Collect List - 4172 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Position: #383 / 1165
  • Number of attempts: 8
VimGolfNight - 490 entries

Based on "The name of the game".

  • Best score: 12
  • Best player score: 12
  • Position: #181 / 325
  • Number of attempts: 2
Change name of a variable - 160 entries

Replace the name of the $variable with the fastest move possible. The challenge is having a command that allow you to easily change the variable name even if its indented.

  • Best score: 9
  • Best player score: 9
  • Position: #105 / 124
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10531 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 15
  • Position: #2916 / 3636
  • Number of attempts: 1
Words in parens - 12721 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 20
  • Position: #3177 / 3914
  • Number of attempts: 1
Let's play some Ivmgolf - 997 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 11
  • Position: #352 / 415
  • Number of attempts: 1
Reverse Simple Deletion - 754 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #327 / 427
  • Number of attempts: 2
Indentation - 443 entries

Indent each line according to the right number of spaces it needs.

  • Best score: 21
  • Best player score: 23
  • Position: #26 / 158
  • Number of attempts: 11
Context insensitive completion 0 - 467 entries

Buried in the lines you're not supposed to add is the line "Add this line!" Add that line to the top of the file.

  • Best score: 7
  • Best player score: 7
  • Position: #100 / 220
  • Number of attempts: 5
Jaakko Hannikainen
Twitter:

entered into 11 challenges

contributed 0 challenges