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

Split line with dots - 1843 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 19
  • Number of attempts: 3
Make Fancy Header - 917 entries

Make the header text stand out with surrounding asterisks

  • Best score: 16
  • Best player score: 16
  • Number of attempts: 4
Extract argument from function - 2014 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 5
A simple change - 362 entries

Just change the numbers in the most efficient way ...

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 6
Mirror Symmetry - 701 entries

Add backslashes.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 7
Just the middle - 9346 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
Swap values - 3589 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 10
A Simple One - 845 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 1
quotes inside quotes - 2799 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: 14
  • Number of attempts: 4
I forgot quotes - 11998 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 6
swarkEafs
Twitter:

entered into 10 challenges

contributed 0 challenges