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

Delete the last function argument in this python script.

  • Best score: 6
  • Best player score: 7
  • Position: #56 / 88
  • Number of attempts: 2
π - 299 entries

1200 π chars

  • Best score: 16
  • Best player score: 21
  • Position: #40 / 72
  • Number of attempts: 4
Change readonly files - 115 entries

Try to write a file that was marked as read-only.

  • Best score: 20
  • Best player score: 38
  • Position: #19 / 34
  • Number of attempts: 2
Mirrored text - 199 entries

backward and forward, and long enough to be challenging

  • Best score: 14
  • Best player score: 16
  • Position: #56 / 74
  • Number of attempts: 2
Change part of a function name in multiple occurrences - 680 entries

Change the middle part of the function name in multiple places, preferably using the next and dot commands.

  • Best score: 14
  • Best player score: 18
  • Position: #185 / 212
  • Number of attempts: 1
Get rid of html tags - 451 entries

Want to read more about Vim's background? Then get rid of those html tags...

  • Best score: 12
  • Best player score: 17
  • Position: #152 / 256
  • Number of attempts: 1
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: 29
  • Position: #408 / 449
  • Number of attempts: 2
Whitespace, empty lines and tabs - 3971 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 26
  • Position: #468 / 849
  • Number of attempts: 3
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: 14
  • Position: #2112 / 3872
  • Number of attempts: 6
Reformat/Refactor a Golfer Class - 7573 entries

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

  • Best score: 7
  • Best player score: 47
  • Position: #1369 / 1870
  • Number of attempts: 3
Jeezies
Github:

entered into 10 challenges

contributed 0 challenges