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

Create Leading Zeros - 192 entries

Create leading zeros only for id columns. Please use generic approach!

  • Best score: 23
  • Best player score: 88
  • Number of attempts: 1
quotes inside quotes - 2885 entries

taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)

  • Best score: 14
  • Best player score: 19
  • Number of attempts: 3
switch variable - 4513 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 24
  • Number of attempts: 1
Simple text editing with Vim - 10832 entries

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

  • Best score: 13
  • Best player score: 28
  • Number of attempts: 1
replacing each line of a block selection - 2632 entries

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

  • Best score: 18
  • Best player score: 40
  • Number of attempts: 1
John Moon
Twitter:

I share entrepreneurial stories, blogs, and marketing tips . Passion for #entrepreneurship and Programming.

entered into 5 challenges

contributed 0 challenges