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 - 18801 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Position: #1258 / 3882
  • Number of attempts: 3
Add semicolons - 10899 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #35 / 3078
  • Number of attempts: 7
remove lines containing the word "reader" - 3614 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #216 / 1173
  • Number of attempts: 3
Com(m)a Trouble - 3907 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #80 / 886
  • Number of attempts: 6
Box it - 7954 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #114 / 1886
  • Number of attempts: 6
Search and Replace 0 - 5007 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #588 / 1631
  • Number of attempts: 2
Just the middle - 11509 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1244 / 4218
  • Number of attempts: 3
Join 'em - 252 entries

This shouldn't be too tough

  • Best score: 4
  • Best player score: 5
  • Position: #58 / 152
  • Number of attempts: 1
I forgot quotes - 16061 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1870 / 4195
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10699 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 15
  • Position: #3195 / 3695
  • Number of attempts: 1
Words in parens - 12975 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #1049 / 3971
  • Number of attempts: 3
switch variable - 5085 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #558 / 1750
  • Number of attempts: 3
Change the content of a string - 1659 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 22
  • Position: #182 / 612
  • Number of attempts: 5
Magnus Bjuvensjö
Twitter:

entered into 13 challenges

contributed 0 challenges