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

Delete the last function argument in this python script.

  • Best score: 6
  • Best player score: 7
  • Position: #70 / 114
  • Number of attempts: 2
π - 303 entries

1200 π chars

  • Best score: 16
  • Best player score: 21
  • Position: #41 / 74
  • 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 - 453 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 / 257
  • Number of attempts: 1
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: 29
  • Position: #410 / 451
  • Number of attempts: 2
Whitespace, empty lines and tabs - 3974 entries

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

  • Best score: 16
  • Best player score: 26
  • Position: #469 / 850
  • Number of attempts: 3
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: 14
  • Position: #2112 / 3874
  • Number of attempts: 6
Reformat/Refactor a Golfer Class - 7579 entries

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

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

entered into 10 challenges

contributed 0 challenges