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 function parameters and delete all comments in python. - 344 entries

Swap function parameters and delete all comments in python.

  • Best score: 19
  • Best player score: 19
  • Position: #12 / 96
  • Number of attempts: 6
Delete the last function argument in python. - 295 entries

Delete the last function argument in this python script.

  • Best score: 6
  • Best player score: 6
  • Position: #41 / 112
  • Number of attempts: 3
Flip All Bits - 203 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: 48
  • Position: #46 / 70
  • Number of attempts: 5
Reorganize Pokémon - 837 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 18
  • Position: #44 / 230
  • Number of attempts: 4
Word completion - 296 entries

Try to complete these options within 20 keystrokes.

  • Best score: 20
  • Best player score: 22
  • Position: #28 / 78
  • Number of attempts: 11
Remove adjacent duplicates - 705 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 21
  • Position: #62 / 175
  • Number of attempts: 9
Rearrange array to one line - 855 entries

Rearrange the array content on only one line, and remove trailing commas

  • Best score: 13
  • Best player score: 13
  • Position: #34 / 201
  • Number of attempts: 10
Change the content of a string - 1764 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 22
  • Position: #264 / 647
  • Number of attempts: 2
Sort and add attributes - 1568 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 33
  • Position: #316 / 607
  • Number of attempts: 2
Reconstruct the Sentence - 1710 entries

Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.

  • Best score: 19
  • Best player score: 63
  • Position: #433 / 451
  • Number of attempts: 2
Simple text editing with Vim - 13509 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #771 / 3874
  • Number of attempts: 5
Reformat/Refactor a Golfer Class - 7579 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 7
  • Best player score: 42
  • Position: #1065 / 1871
  • Number of attempts: 4
000AG000
Github:

entered into 12 challenges

contributed 0 challenges