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

Readable Rubyhash - 274 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: 23
  • Best player score: 29
  • Position: #58 / 97
  • Number of attempts: 3
NATO phonetic alphabet - 539 entries

Transform the series of words into a list.

  • Best score: 19
  • Best player score: 32
  • Position: #187 / 198
  • Number of attempts: 2
The name of the game - 679 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Position: #14 / 364
  • Number of attempts: 2
Stairs Indenting - 479 entries

Indent each line with <line number> whitespaces.

  • Best score: 12
  • Best player score: 14
  • Position: #84 / 199
  • Number of attempts: 4
Vertical Limit - 2624 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 26
  • Position: #424 / 774
  • Number of attempts: 2
replacing each line of a block selection - 3040 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 29
  • Position: #629 / 785
  • 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: 32
  • Position: #622 / 850
  • Number of attempts: 1
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: #1030 / 3874
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7579 entries

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

  • Best score: 7
  • Best player score: 55
  • Position: #1598 / 1871
  • Number of attempts: 2
Kerry Burke
Twitter:

entered into 9 challenges

contributed 0 challenges