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

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Position: #1260 / 3889
  • Number of attempts: 3
Add semicolons - 10916 entries

Simply add a semicolon at the end of each line

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

easy stuff

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

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

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

Create a box around a line.

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

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

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

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1244 / 4230
  • 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 - 16093 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1872 / 4202
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10713 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 15
  • Position: #3198 / 3700
  • Number of attempts: 1
Words in parens - 12992 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #1051 / 3977
  • Number of attempts: 3
switch variable - 5094 entries

how fast can you switch two variable ?

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

This docstring is a complete lie. Fix it.

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

entered into 13 challenges

contributed 0 challenges