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

Wrap the text of an email message to 79 characters - 521 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 5
  • Position: #24 / 334
  • Number of attempts: 1
Generate English Alphabets - 427 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 25
  • Position: #80 / 190
  • Number of attempts: 2
Ruby 1.9 hashes - 1113 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: 15
  • Position: #234 / 372
  • Number of attempts: 1
A Simple One - 870 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Position: #154 / 581
  • Number of attempts: 2
Reverse Simple Deletion - 739 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #162 / 418
  • Number of attempts: 2
Increment, increment, increment.... - 531 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #133 / 357
  • Number of attempts: 1
Reverse characters in a line - 613 entries

You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.

  • Best score: 12
  • Best player score: 18
  • Position: #157 / 225
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 5804 entries

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

  • Best score: 32
  • Best player score: 46
  • Position: #1042 / 1438
  • Number of attempts: 1

Contributed Challenges

Recursively Palindrome - 230 entries

Note that there are 2^6-1 characters.

Wonha Ryu
Twitter:

puts ['Noob Geek', 'One of the algospot.com admins', '산업기능요원 ~ 2013. 4. 21'].map{|z| '* ' + z}.join(\n) twitter strips out all of my double quotation marks....

entered into 8 challenges

contributed 1 challenges