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

switch variable - 4894 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #46 / 1696
  • Number of attempts: 7
Make it more readable - 1867 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 13
  • Position: #6 / 615
  • Number of attempts: 6
Ruby 1.9 hashes - 1128 entries

Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!

  • Best score: 12
  • Best player score: 12
  • Position: #35 / 375
  • Number of attempts: 6
Increment, increment, increment.... - 546 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #189 / 363
  • Number of attempts: 1
Whitespace, empty lines and tabs - 2831 entries

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

  • Best score: 16
  • Best player score: 29
  • Position: #403 / 644
  • Number of attempts: 3
Flodder-challenge - 853 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 189
  • Position: #262 / 262
  • Number of attempts: 1
Simple text editing with Vim - 11495 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #858 / 3373
  • Number of attempts: 7
Reformat/Refactor a Golfer Class - 5889 entries

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

  • Best score: 32
  • Best player score: 32
  • Position: #3 / 1456
  • Number of attempts: 13
John
Twitter:

entered into 8 challenges

contributed 0 challenges