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

Append semicolon after expressions - 890 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 13
  • Number of attempts: 1
Sort and add attributes - 1105 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 37
  • Number of attempts: 1
Stairs Indenting - 372 entries

Indent each line with <line number> whitespaces.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 1
Mirror Symmetry - 727 entries

Add backslashes.

  • Best score: 7
  • Best player score: 14
  • Number of attempts: 1
Increment, increment, increment.... - 498 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Number of attempts: 1
Just the middle - 9951 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
C Reformatting - 654 entries

You may use Visual mode... or not. #uppercase

  • Best score: 30
  • Best player score: 43
  • Number of attempts: 2
Remove noise from HTTP log - 622 entries

This piece of log (from the year 2000) contains some irrelevant data. We only want to see the HTTP method and resource.

  • Best score: 15
  • Best player score: 17
  • Number of attempts: 2
learn vim in short time - 187 entries

so happy to learn vim.because vim is awesome

  • Best score: 8
  • Best player score: 8
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 9894 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 13
  • Number of attempts: 2
V to the i - 4220 entries

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

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 3
Paragraph sort - 336 entries

My large herbivorous mammals, Vim commands, and POSIX utilities need to be sorted separately.

  • Best score: 14
  • Best player score: 18
  • Number of attempts: 2
The Cake is a Lie - 1143 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 11
  • Number of attempts: 1
Com(m)a Trouble - 2419 entries

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

  • Best score: 12
  • Best player score: 17
  • Number of attempts: 1
Simple text editing with Vim - 10821 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 21
  • Number of attempts: 1
Swap values - 3954 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 15
  • Number of attempts: 1
Vice versa - 6502 entries

Little role switching.

  • Best score: 12
  • Best player score: 14
  • Number of attempts: 3
Generate a list of numbers - 255 entries

Please generate list of numbers from 1 to 20.

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 2
Space out the alphabet - 1436 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 22
  • Number of attempts: 3
-a-b-c- - 2776 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 17
  • Number of attempts: 1
Split line with dots - 1949 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 19
  • Number of attempts: 5
Reconstruct the Sentence - 1034 entries

Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.

  • Best score: 20
  • Best player score: 21
  • Number of attempts: 1
attr_aligner - 3158 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 35
  • Number of attempts: 1
jn
Twitter:

entered into 23 challenges

contributed 0 challenges