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

Delete the last function argument in python. - 491 entries

Delete the last function argument in this python script.

  • Best score: 6
  • Best player score: 6
  • Position: #13 / 178
  • Number of attempts: 5
Flip All Bits - 313 entries

Perform a bitwise NOT operation on each bit, meaning that bits that are 0 become 1, and those that are 1 become 0.

  • Best score: 26
  • Best player score: 55
  • Position: #78 / 100
  • Number of attempts: 1
Convert list of enums to list of localization terms - 183 entries

While making my game Piloteer, I had a large list of TaskTypes and needed to convert them to an equivalent list of localization terms, to be used when translating the game's text into different languages.

  • Best score: 75
  • Best player score: 159
  • Position: #56 / 60
  • Number of attempts: 1
One number per line - 18889 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 40
  • Position: #3827 / 3898
  • Number of attempts: 1
Add semicolons - 10943 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 18
  • Position: #2744 / 3093
  • Number of attempts: 1
Box it - 7998 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 28
  • Position: #1298 / 1898
  • Number of attempts: 4
Just the middle - 11590 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 12
  • Position: #4094 / 4246
  • Number of attempts: 1
Vice versa - 8011 entries

Little role switching.

  • Best score: 12
  • Best player score: 32
  • Position: #2078 / 2153
  • Number of attempts: 1
I forgot quotes - 16179 entries

Oops.

  • Best score: 10
  • Best player score: 39
  • Position: #4190 / 4218
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10748 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 57
  • Position: #3704 / 3711
  • Number of attempts: 1
Words in parens - 13032 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 22
  • Position: #3623 / 3986
  • Number of attempts: 1
Simple text editing with Vim - 13526 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 47
  • Position: #3760 / 3879
  • Number of attempts: 1
Lorenzo Torri
Github:

entered into 12 challenges

contributed 0 challenges