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 - 1091 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 / 680
  • Number of attempts: 1
Reverse Simple Deletion - 874 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 16
  • Position: #435 / 466
  • Number of attempts: 1
Sorting paragraphs - 565 entries

Order the paragraphs correctly, per prefixed index

  • Best score: 18
  • Best player score: 44
  • Position: #138 / 168
  • Number of attempts: 1
Turn this csv list into queries - 278 entries

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

  • Best score: 98
  • Best player score: 115
  • Position: #41 / 104
  • Number of attempts: 3
The Cake is a Lie - 1418 entries

Correct the capitalization of each word

  • Best score: 8
  • Best player score: 9
  • Position: #10 / 543
  • Number of attempts: 2
Context insensitive completion 0 - 605 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: #187 / 255
  • Number of attempts: 1
Reverse characters in a line - 844 entries

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

  • Best score: 8
  • Best player score: 18
  • Position: #191 / 282
  • Number of attempts: 2

Contributed Challenges

Getters & Setters: Java - 219 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