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

Words in parens - 11996 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 20
  • Number of attempts: 2
Ruby 1.9 hashes - 1101 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: 20
  • Number of attempts: 3
replacing each line of a block selection - 2682 entries

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

  • Best score: 18
  • Best player score: 28
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10091 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 4
Search and Replace 0 - 4434 entries

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

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 7
switch variable - 4614 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 22
  • Number of attempts: 2
André Branco
Twitter:

entered into 6 challenges

contributed 0 challenges