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 - 34021 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: 25
  • Position: #3182 / 7517
  • Number of attempts: 3
Scrambled numbers - 830 entries

Four is NOT 1. One is 1.

  • Best score: 18
  • Best player score: 32
  • Position: #151 / 187
  • Number of attempts: 1
camel riding - 817 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 17
  • Position: #168 / 285
  • Number of attempts: 1
Fix the XML - 1052 entries

The challenge consists in having a valid xml from an incomplete source.

  • Best score: 18
  • Best player score: 23
  • Position: #105 / 292
  • Number of attempts: 3
Mute the second method of this script - 465 entries

prepend a # infront of every line of the second method

  • Best score: 8
  • Best player score: 11
  • Position: #233 / 246
  • Number of attempts: 1
I forgot quotes - 16239 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Position: #2880 / 4225
  • Number of attempts: 1
NBCU Weekly Challenge - Test - 265 entries

Just testing.

  • Best score: 18
  • Best player score: 21
  • Position: #109 / 121
  • Number of attempts: 1
Lisp Condense - 485 entries

Reduce 4 cons selection operations down to one function call.

  • Best score: 13
  • Best player score: 13
  • Position: #12 / 163
  • Number of attempts: 4
Mess in revision history - 1238 entries

Help Joe clean up what Steve has cobbled.

  • Best score: 17
  • Best player score: 47
  • Position: #245 / 260
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10758 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 13
  • Position: #2553 / 3717
  • Number of attempts: 1
quotes inside quotes - 3203 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: 19
  • Position: #1002 / 1094
  • Number of attempts: 1
Words in parens - 13054 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 19
  • Position: #3064 / 3991
  • Number of attempts: 2
Minimalist Limerick - 539 entries

Reproduce this lovely poem.

  • Best score: 30
  • Best player score: 31
  • Position: #20 / 177
  • Number of attempts: 1
Let's play some Ivmgolf - 1163 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 10
  • Position: #367 / 459
  • Number of attempts: 1
Ruby 1.9 hashes - 1313 entries

Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!

  • Best score: 12
  • Best player score: 14
  • Position: #237 / 419
  • Number of attempts: 2
Change the content of a string - 1803 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 26
  • Position: #461 / 656
  • Number of attempts: 1
Yuval Netanel
Twitter:

entered into 16 challenges

contributed 0 challenges