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

Search and Replace 0 - 5007 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 13
  • Position: #890 / 1631
  • Number of attempts: 5
Vice versa - 7953 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #625 / 2140
  • Number of attempts: 6
Sort and add attributes - 1480 entries

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

  • Best score: 33
  • Best player score: 35
  • Position: #422 / 576
  • Number of attempts: 5
Braces or Brackets? - 1056 entries

Someone forgot whether to use braces or brackets and you have to clean up their code!

  • Best score: 34
  • Best player score: 168
  • Position: #323 / 325
  • Number of attempts: 1
Flodder-challenge - 1343 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 52
  • Position: #320 / 348
  • Number of attempts: 2
Simple text editing with Vim - 13017 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #719 / 3745
  • Number of attempts: 18
Reformat/Refactor a Golfer Class - 7173 entries

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

  • Best score: 28
  • Best player score: 47
  • Position: #1306 / 1761
  • Number of attempts: 4
OsamaElkadeem
Github:

entered into 7 challenges

contributed 0 challenges