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

Hogwarts Email Sorting - 928 entries

Given a list of emails, get the students full name and their associated house.

  • Best score: 20
  • Best player score: 22
  • Position: #114 / 262
  • Number of attempts: 1
Swap values - 4627 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 12
  • Position: #502 / 1270
  • Number of attempts: 5
One number per line - 18749 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Position: #1001 / 3867
  • Number of attempts: 11
Swap values inside brackets - 2500 entries

Easy challenge.

  • Best score: 13
  • Best player score: 16
  • Position: #265 / 580
  • Number of attempts: 6
V to the i - 4810 entries

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

  • Best score: 7
  • Best player score: 7
  • Position: #702 / 1896
  • Number of attempts: 3
Add semicolons - 10872 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1245 / 3067
  • Number of attempts: 10
remove lines containing the word "reader" - 3592 entries

easy stuff

  • Best score: 9
  • Best player score: 14
  • Position: #1047 / 1164
  • Number of attempts: 4
Com(m)a Trouble - 3831 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 29
  • Position: #754 / 867
  • Number of attempts: 3
Box it - 7909 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #714 / 1878
  • Number of attempts: 7
Just the middle - 11464 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2986 / 4202
  • Number of attempts: 3
Team names - 1836 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 16
  • Position: #252 / 588
  • Number of attempts: 4
ninja substitution - 1420 entries

How can you reuse a previous substitution ?

  • Best score: 14
  • Best player score: 45
  • Position: #261 / 267
  • Number of attempts: 2
Line under headers - 2045 entries

Put a line under each header, and remove the other markdown formatting.

  • Best score: 24
  • Best player score: 28
  • Position: #225 / 504
  • Number of attempts: 2
Delete to the end of the current line - 812 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 5
  • Position: #199 / 391
  • Number of attempts: 2
Reorder the groups - 1181 entries

Change the order so that the groups of fruit come before the vegetables.

  • Best score: 14
  • Best player score: 48
  • Position: #258 / 264
  • Number of attempts: 1
Collect List - 4305 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Position: #456 / 1191
  • Number of attempts: 6
I forgot quotes - 15997 entries

Oops.

  • Best score: 10
  • Best player score: 20
  • Position: #3670 / 4184
  • Number of attempts: 1
120 Degrees - 493 entries

Rotate that triangle.

  • Best score: 14
  • Best player score: 22
  • Position: #98 / 145
  • Number of attempts: 8
Words in parens - 12939 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1786 / 3964
  • Number of attempts: 6
ASCII-art Histogram - 320 entries

Create an ASCCI-art histogram for the given numbers. Make sure not to leave trailing whitespaces. Thanks to VimGolf I recently discovered a feature of Vim thAT blew my mind. I'm curious to see what real ninjas make of it ;-)

  • Best score: 33
  • Best player score: 157
  • Position: #57 / 57
  • Number of attempts: 1
switch variable - 5079 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #591 / 1749
  • Number of attempts: 2
Thomas Jung
Twitter:

To be is to do (Kant) nonsense (me).

entered into 21 challenges

contributed 0 challenges