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

VimGolfNight - 604 entries

Based on "The name of the game".

  • Best score: 12
  • Best player score: 12
  • Position: #19 / 357
  • Number of attempts: 1
The name of the game - 707 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Position: #122 / 374
  • Number of attempts: 1
lamb had a little Mary - 661 entries

"Mary" and "lamb" are swapped. Unswap them. Fast as you can.

  • Best score: 16
  • Best player score: 36
  • Position: #106 / 181
  • Number of attempts: 6
Stairs Indenting - 503 entries

Indent each line with <line number> whitespaces.

  • Best score: 12
  • Best player score: 12
  • Position: #5 / 203
  • Number of attempts: 5
Let's play some Ivmgolf - 1167 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 7
  • Position: #40 / 462
  • Number of attempts: 5
Switch function arguments - 2235 entries

How to switch two arguments of a function.

  • Best score: 7
  • Best player score: 11
  • Position: #66 / 687
  • Number of attempts: 6
Append semicolon after expressions - 1088 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 11
  • Position: #47 / 427
  • Number of attempts: 3
Reverse and double space - 514 entries

Reverse the order of the given lines and double space everything

  • Best score: 14
  • Best player score: 16
  • Position: #104 / 204
  • Number of attempts: 3
Make it more readable - 2041 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 13
  • Position: #40 / 659
  • Number of attempts: 4
Reverse Simple Deletion - 875 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 11
  • Position: #13 / 467
  • Number of attempts: 4
John Papanastasiou
Twitter:

Passionate snowboarding father and metalhead dabbling occasionally in python, django, and Jägermeister

entered into 10 challenges

contributed 0 challenges