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

One number per line - 18732 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 31
  • Position: #3663 / 3865
  • Number of attempts: 1
V to the i - 4806 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1309 / 1894
  • Number of attempts: 1
remove lines containing the word "reader" - 3590 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #47 / 1163
  • Number of attempts: 6
Com(m)a Trouble - 3829 entries

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

  • Best score: 12
  • Best player score: 17
  • Position: #533 / 866
  • Number of attempts: 1
Box it - 7906 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 28
  • Position: #1200 / 1877
  • Number of attempts: 5
Number Sort - 314 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: #46 / 166
  • Number of attempts: 4
Fiddle percentages into real numbers - 865 entries

Get rid of the '%' symbols and shift the decimal place. This is the easier version - all the columns line up.

  • Best score: 13
  • Best player score: 37
  • Position: #287 / 291
  • Number of attempts: 1
Order and join - 983 entries

There's something special about the input order.

  • Best score: 10
  • Best player score: 19
  • Position: #238 / 259
  • Number of attempts: 3
I forgot quotes - 15990 entries

Oops.

  • Best score: 10
  • Best player score: 23
  • Position: #3890 / 4182
  • Number of attempts: 1
-a-b-c- - 3216 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 17
  • Position: #999 / 1138
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10669 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 13
  • Position: #2598 / 3684
  • Number of attempts: 1
Delete unwanted lines - 413 entries

Delete all lines which does not end in "o.."

  • Best score: 9
  • Best player score: 9
  • Position: #167 / 229
  • Number of attempts: 1
The name of the game - 668 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 12
  • Position: #319 / 361
  • Number of attempts: 1
Remove semicolons after expressions - 654 entries

A follow-up for http://vimgolf.com/challenges/4fc9d767d3a0d4000100000e.

  • Best score: 6
  • Best player score: 6
  • Position: #92 / 263
  • Number of attempts: 2
A Simple One - 1050 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Position: #451 / 664
  • Number of attempts: 1
Benny
Twitter:

A crazy physicist hacking the world for a better tomorrow; whilst making your food

entered into 15 challenges

contributed 0 challenges