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. - 130 entries

Delete the last function argument in this python script.

  • Best score: 6
  • Best player score: 6
  • Position: #13 / 53
  • Number of attempts: 5
Flip All Bits - 103 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: #27 / 34
  • Number of attempts: 1
Convert list of enums to list of localization terms - 151 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: #42 / 46
  • 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 - 10932 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 18
  • Position: #2742 / 3091
  • Number of attempts: 1
Box it - 7997 entries

Create a box around a line.

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

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 12
  • Position: #4090 / 4240
  • Number of attempts: 1
Vice versa - 7995 entries

Little role switching.

  • Best score: 12
  • Best player score: 32
  • Position: #2077 / 2151
  • Number of attempts: 1
I forgot quotes - 16176 entries

Oops.

  • Best score: 10
  • Best player score: 39
  • Position: #4188 / 4216
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10743 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 57
  • Position: #3703 / 3710
  • Number of attempts: 1
Words in parens - 13024 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 22
  • Position: #3621 / 3983
  • Number of attempts: 1
Simple text editing with Vim - 13468 entries

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

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

entered into 12 challenges

contributed 0 challenges