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

Delete the last function argument in this python script.

  • Best score: 6
  • Best player score: 6
  • Position: #132 / 253
  • Number of attempts: 5
Flip All Bits - 485 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: 24
  • Best player score: 60
  • Position: #117 / 137
  • Number of attempts: 3
Copy punctuation - 755 entries

I want to copy the last line’s brackets, quotes, and commas to each line. How?

  • Best score: 19
  • Best player score: 41
  • Position: #112 / 186
  • Number of attempts: 2
Get rid of html tags - 465 entries

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

  • Best score: 12
  • Best player score: 17
  • Position: #153 / 262
  • Number of attempts: 2
Simple text editing with Vim - 13667 entries

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

  • Best score: 13
  • Best player score: 19
  • Position: #2892 / 3914
  • Number of attempts: 5
Reformat/Refactor a Golfer Class - 7722 entries

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

  • Best score: 7
  • Best player score: 45
  • Position: #1261 / 1896
  • Number of attempts: 6
Vishal Mehta
Github:

entered into 6 challenges

contributed 0 challenges