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 - 5101 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #679 / 1756
  • Number of attempts: 5
remove dupes from array - 1361 entries

given a random string that contains a ruby-esque array, make sure that there are no duplicate elements

  • Best score: 17
  • Best player score: 17
  • Position: #22 / 338
  • Number of attempts: 4
imports alignment (python) - 704 entries

Align as one import per line.

  • Best score: 17
  • Best player score: 24
  • Position: #120 / 200
  • Number of attempts: 3
Ruby 1.9 hashes - 1286 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: #267 / 414
  • Number of attempts: 2
Felipe Talavera
Twitter:

builder at @peertransfer

entered into 4 challenges

contributed 0 challenges