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

HS exam question - 1611 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 73
  • Position: #227 / 421
  • Number of attempts: 1
delete swap - 1880 entries

delete all swap

  • Best score: 5
  • Best player score: 10
  • Position: #454 / 575
  • Number of attempts: 1
Generate a very basic Python constructor (fixed) - 1294 entries

Original by @BiddulphCaleb (http://www.vimgolf.com/challenges/6019f1c4642668000cee11e8) - had some extra spaces in output file.

  • Best score: 29
  • Best player score: 69
  • Position: #247 / 277
  • Number of attempts: 1
Fill in the chess board - 979 entries

Fill in the name of each square using its file (a-h) and rank (1-8).

  • Best score: 19
  • Best player score: 47
  • Position: #136 / 186
  • Number of attempts: 1
Swap values - 4703 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 15
  • Position: #858 / 1291
  • Number of attempts: 1
V to the i - 4860 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1189 / 1910
  • Number of attempts: 3
Split line with dots - 2174 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 19
  • Position: #330 / 638
  • Number of attempts: 5
Com(m)a Trouble - 3988 entries

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

  • Best score: 12
  • Best player score: 17
  • Position: #583 / 908
  • Number of attempts: 1
Just the middle - 11590 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2246 / 4246
  • Number of attempts: 1
Vice versa - 8011 entries

Little role switching.

  • Best score: 12
  • Best player score: 14
  • Position: #936 / 2153
  • Number of attempts: 3
C Reformatting - 709 entries

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

  • Best score: 30
  • Best player score: 43
  • Position: #70 / 165
  • Number of attempts: 2
Paragraph sort - 456 entries

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

  • Best score: 14
  • Best player score: 18
  • Position: #84 / 126
  • Number of attempts: 2
Generate a list of numbers - 302 entries

Please generate list of numbers from 1 to 20.

  • Best score: 14
  • Best player score: 16
  • Position: #122 / 142
  • Number of attempts: 2
Mirror Symmetry - 830 entries

Add backslashes.

  • Best score: 7
  • Best player score: 14
  • Position: #243 / 270
  • Number of attempts: 1
Space out the alphabet - 1690 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 22
  • Position: #332 / 454
  • Number of attempts: 3
learn vim in short time - 245 entries

so happy to learn vim.because vim is awesome

  • Best score: 8
  • Best player score: 8
  • Position: #99 / 165
  • Number of attempts: 2
-a-b-c- - 3233 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 17
  • Position: #973 / 1143
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10748 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 13
  • Position: #2596 / 3711
  • Number of attempts: 2
attr_aligner - 3565 entries

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

  • Best score: 19
  • Best player score: 35
  • Position: #592 / 709
  • Number of attempts: 1
Stairs Indenting - 483 entries

Indent each line with <line number> whitespaces.

  • Best score: 12
  • Best player score: 12
  • Position: #16 / 200
  • Number of attempts: 1
Append semicolon after expressions - 1068 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 13
  • Position: #352 / 424
  • Number of attempts: 1
Remove noise from HTTP log - 741 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
  • Position: #235 / 279
  • Number of attempts: 2
Increment, increment, increment.... - 703 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #346 / 414
  • Number of attempts: 1
The Cake is a Lie - 1390 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 11
  • Position: #460 / 539
  • Number of attempts: 1
Sort and add attributes - 1572 entries

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

  • Best score: 33
  • Best player score: 37
  • Position: #491 / 610
  • Number of attempts: 1
Reconstruct the Sentence - 1722 entries

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

  • Best score: 19
  • Best player score: 21
  • Position: #244 / 453
  • Number of attempts: 1
Simple text editing with Vim - 13526 entries

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

  • Best score: 13
  • Best player score: 21
  • Position: #3015 / 3879
  • Number of attempts: 1
jn
Twitter:

entered into 27 challenges

contributed 0 challenges