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

Delete the last function argument in this python script.

  • Best score: 6
  • Best player score: 6
  • Position: #13 / 21
  • Number of attempts: 5
Flip All Bits - 53 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: #16 / 18
  • Number of attempts: 1
Convert list of enums to list of localization terms - 146 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: #40 / 43
  • Number of attempts: 1
One number per line - 18862 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 40
  • Position: #3825 / 3896
  • Number of attempts: 1
Add semicolons - 10930 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 18
  • Position: #2741 / 3090
  • Number of attempts: 1
Box it - 7991 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 28
  • Position: #1297 / 1896
  • Number of attempts: 4
Just the middle - 11566 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 12
  • Position: #4088 / 4238
  • Number of attempts: 1
Vice versa - 7990 entries

Little role switching.

  • Best score: 12
  • Best player score: 32
  • Position: #2075 / 2149
  • Number of attempts: 1
I forgot quotes - 16156 entries

Oops.

  • Best score: 10
  • Best player score: 39
  • Position: #4186 / 4213
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10732 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 57
  • Position: #3700 / 3707
  • Number of attempts: 1
Words in parens - 13014 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 22
  • Position: #3619 / 3981
  • Number of attempts: 1
Simple text editing with Vim - 13466 entries

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

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

entered into 12 challenges

contributed 0 challenges