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

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

  • Best score: 12
  • Best player score: 18
  • Position: #1351 / 1644
  • Number of attempts: 1
Vertical Limit - 2615 entries

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

  • Best score: 21
  • Best player score: 26
  • Position: #446 / 772
  • Number of attempts: 1
replacing each line of a block selection - 3026 entries

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

  • Best score: 18
  • Best player score: 28
  • Position: #604 / 783
  • Number of attempts: 2
switch variable - 5101 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 22
  • Position: #1693 / 1756
  • Number of attempts: 2
Simple text editing with Vim - 13423 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 33
  • Position: #3587 / 3848
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 7514 entries

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

  • Best score: 7
  • Best player score: 47
  • Position: #1320 / 1850
  • Number of attempts: 2
Zachery Chin
Twitter:

entered into 6 challenges

contributed 0 challenges