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

Simple, Practical, and Common - 33930 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 31
  • Position: #5499 / 7490
  • Number of attempts: 5
One number per line - 18840 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 20
  • Position: #2077 / 3893
  • Number of attempts: 4
Box it - 7987 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 32
  • Position: #1491 / 1895
  • Number of attempts: 2
Words in parens - 13005 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2131 / 3979
  • Number of attempts: 1
switch variable - 5101 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 13
  • Position: #1030 / 1756
  • Number of attempts: 2
Ugly spreadsheet copy/paste to CSV - 1015 entries

convert an ugly spreadsheet copy/paste into a CSV format.

  • Best score: 19
  • Best player score: 69
  • Position: #186 / 195
  • Number of attempts: 2
Line Zipper - 477 entries

Zip/pair related lines.

  • Best score: 12
  • Best player score: 13
  • Position: #37 / 216
  • Number of attempts: 3
remove dupes from array - 1361 entries

given a random string that contains a ruby-esque array, make sure that there are no duplicate elements

  • Best score: 17
  • Best player score: 23
  • Position: #193 / 338
  • Number of attempts: 4
Reformat/Refactor a Golfer Class - 7533 entries

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

  • Best score: 7
  • Best player score: 48
  • Position: #1375 / 1852
  • Number of attempts: 1
Jonathan C. Dietrich
Twitter:

Software Architect; Actor; Card/Board gamer; Neo-Hippy; Husband; Father; Co-oper; Beard handler

entered into 9 challenges

contributed 0 challenges