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

Search and Replace 0 - 5042 entries

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

  • Best score: 12
  • Best player score: 19
  • Position: #1447 / 1643
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10720 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 40
  • Position: #3679 / 3703
  • Number of attempts: 1
Words in parens - 13005 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 21
  • Position: #3426 / 3979
  • Number of attempts: 4
switch variable - 5101 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 25
  • Position: #1713 / 1756
  • Number of attempts: 1
Make it more readable - 2015 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 24
  • Position: #624 / 654
  • Number of attempts: 1
Shebangs for all - 2062 entries

We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.

  • Best score: 11
  • Best player score: 25
  • Position: #489 / 525
  • Number of attempts: 3
Charles Neill
Twitter:

UT '13. #AustinWire Advocate. Instigator.

entered into 6 challenges

contributed 0 challenges