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

Increment, increment, increment.... - 525 entries

Vim likes macros

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

Add backslashes.

  • Best score: 7
  • Best player score: 14
  • Number of attempts: 1
Reconstruct the Sentence - 1042 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
C Reformatting - 665 entries

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

  • Best score: 30
  • Best player score: 43
  • Number of attempts: 2
Just the middle - 10825 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
The Cake is a Lie - 1168 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 11
  • Number of attempts: 1
Append semicolon after expressions - 898 entries

Some lines need the semicolon, some don't.

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

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

  • Best score: 33
  • Best player score: 37
  • Number of attempts: 1
Swap values - 4300 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 15
  • Number of attempts: 1
attr_aligner - 3282 entries

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

  • Best score: 19
  • Best player score: 35
  • Number of attempts: 1
Generate a list of numbers - 262 entries

Please generate list of numbers from 1 to 20.

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10337 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 13
  • Number of attempts: 2
Com(m)a Trouble - 3036 entries

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

  • Best score: 12
  • Best player score: 17
  • Number of attempts: 1
learn vim in short time - 206 entries

so happy to learn vim.because vim is awesome

  • Best score: 8
  • Best player score: 8
  • Number of attempts: 2
Vice versa - 7165 entries

Little role switching.

  • Best score: 12
  • Best player score: 14
  • Number of attempts: 3
Remove noise from HTTP log - 631 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
Split line with dots - 2043 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 19
  • Number of attempts: 5
Stairs Indenting - 384 entries

Indent each line with <line number> whitespaces.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 1
Space out the alphabet - 1480 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 22
  • Number of attempts: 3
Simple text editing with Vim - 11200 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
V to the i - 4508 entries

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

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 3
Paragraph sort - 343 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
-a-b-c- - 3004 entries

Put hyphens everywhere.

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

entered into 23 challenges

contributed 0 challenges