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

Swap function parameters and delete all comments in python.

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

Delete the last function argument in this python script.

  • Best score: 6
  • Best player score: 6
  • Position: #41 / 87
  • Number of attempts: 3
Flip All Bits - 167 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: #33 / 51
  • Number of attempts: 5
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 - 852 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #34 / 199
  • Number of attempts: 10
Reconstruct the Sentence - 1706 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: #431 / 449
  • Number of attempts: 2
Simple text editing with Vim - 13502 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 / 3872
  • Number of attempts: 5
Reformat/Refactor a Golfer Class - 7573 entries

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

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

entered into 8 challenges

contributed 0 challenges