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

Extract argument from function - 2267 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #24 / 736
  • Number of attempts: 7
-a-b-c- - 3135 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Position: #27 / 1118
  • Number of attempts: 3
Two become one - 706 entries

We have two c arrays and want to make one two dimensional out of it. Can we do that?

  • Best score: 25
  • Best player score: 26
  • Position: #24 / 204
  • Number of attempts: 6
Mess in revision history - 1151 entries

Help Joe clean up what Steve has cobbled.

  • Best score: 17
  • Best player score: 17
  • Position: #2 / 244
  • Number of attempts: 5
attr_aligner - 3403 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 31
  • Position: #408 / 686
  • Number of attempts: 1
quotes inside quotes - 3077 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
  • Position: #6 / 1057
  • Number of attempts: 2
Top X - 191 entries

The End File is the Top 10 Vimgolf Leaderboard at June 29, 2013. This is a second version, with a great contribution of @udioica. X is ten in Roman,a numeric system in ancient Rome

  • Best score: 18
  • Best player score: 33
  • Position: #54 / 69
  • Number of attempts: 2
Pairs of numbers - 347 entries

Line 1 represents x, line 2 y-data. Bring the corresponding pairs in the form "[x,y]\n"

  • Best score: 26
  • Best player score: 27
  • Position: #18 / 131
  • Number of attempts: 5
Assign list - 166 entries

Assign list elements to matrix

  • Best score: 30
  • Best player score: 31
  • Position: #8 / 58
  • Number of attempts: 4
Delete unwanted lines - 390 entries

Delete all lines which does not end in "o.."

  • Best score: 9
  • Best player score: 9
  • Position: #41 / 223
  • Number of attempts: 1
Vertical Limit - 2386 entries

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

  • Best score: 21
  • Best player score: 21
  • Position: #8 / 723
  • Number of attempts: 9
switch variable - 4980 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #171 / 1717
  • Number of attempts: 4
Simple text editing with Vim - 11822 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #160 / 3461
  • Number of attempts: 5
Felix Stridsberg
Twitter:

entered into 13 challenges

contributed 0 challenges