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

Just the middle - 10549 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
I forgot quotes - 14658 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 3
Words in parens - 12133 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 3
remove lines containing the word "reader" - 3018 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 3
switch variable - 4696 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 3
Search and Replace 0 - 4450 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 2
Add semicolons - 8473 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 7
A HAPPY NEW YEAR 2014 ! - 10177 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 15
  • Number of attempts: 1
One number per line - 16834 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 3
Box it - 6511 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 6
Change the content of a string - 1267 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 22
  • Number of attempts: 5
Join 'em - 192 entries

This shouldn't be too tough

  • Best score: 4
  • Best player score: 5
  • Number of attempts: 1
Com(m)a Trouble - 2874 entries

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

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 6
Magnus Bjuvensjö
Twitter:

entered into 13 challenges

contributed 0 challenges