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

A Simple One - 1047 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
  • Position: #41 / 662
  • Number of attempts: 1
Reverse Simple Deletion - 847 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 16
  • Position: #427 / 458
  • Number of attempts: 1
Sorting paragraphs - 514 entries

Order the paragraphs correctly, per prefixed index

  • Best score: 18
  • Best player score: 44
  • Position: #132 / 161
  • Number of attempts: 1
Turn this csv list into queries - 238 entries

Transform each line of this csv file into a MySQL-ready INSERT query.

  • Best score: 98
  • Best player score: 115
  • Position: #39 / 100
  • Number of attempts: 3
The Cake is a Lie - 1339 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 9
  • Position: #9 / 525
  • Number of attempts: 2
Context insensitive completion 0 - 566 entries

Buried in the lines you're not supposed to add is the line "Add this line!" Add that line to the top of the file.

  • Best score: 6
  • Best player score: 9
  • Position: #177 / 244
  • Number of attempts: 1
Reverse characters in a line - 757 entries

You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.

  • Best score: 12
  • Best player score: 18
  • Position: #179 / 263
  • Number of attempts: 2

Contributed Challenges

Getters & Setters: Java - 207 entries

Boilerplate getters & setters - it's a tedious fact of life in Java, and probably the only thing that still pulls me back to an IDE. Perhaps someone knows a fast, pure vim way...

Kris Jenkins
Twitter:

Londonophillic code monkey and assez-bon vivant.

entered into 7 challenges

contributed 1 challenges