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

Swap values - 4705 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 12
  • Position: #496 / 1293
  • Number of attempts: 5
One number per line - 18903 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Position: #984 / 3904
  • Number of attempts: 10
Swap values inside brackets - 2551 entries

Easy challenge.

  • Best score: 13
  • Best player score: 16
  • Position: #262 / 594
  • Number of attempts: 5
Add semicolons - 10956 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 13
  • Position: #2006 / 3098
  • Number of attempts: 1
Box it - 8003 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #683 / 1901
  • Number of attempts: 6
Copy three lines - 2923 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 22
  • Position: #512 / 647
  • Number of attempts: 5
Just the middle - 11616 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2931 / 4255
  • Number of attempts: 1
calculations - 343 entries

Complete these (weird) calculations.

  • Best score: 38
  • Best player score: 41
  • Position: #39 / 72
  • Number of attempts: 8
Alan Martins Silva
Twitter:

entered into 8 challenges

contributed 0 challenges