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 - 32904 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: 22
  • Position: #1258 / 7270
  • Number of attempts: 5
One number per line - 18377 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #385 / 3787
  • Number of attempts: 6
Team names - 1777 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 16
  • Position: #113 / 570
  • Number of attempts: 4
Python Hello World! Reformatting - 897 entries

A novice Python using prints Hello World! and a pro shows him different way. Using vim to get into pro style from novice, win the challenge.

  • Best score: 39
  • Best player score: 39
  • Position: #2 / 350
  • Number of attempts: 5
For all cases. - 127 entries

In this case... change it! :) Watch the line.

  • Best score: 8
  • Best player score: 8
  • Position: #53 / 91
  • Number of attempts: 1
Pretty multi-line bash - 216 entries

Bash line continuations are much prettier when they're column aligned.

  • Best score: 15
  • Best player score: 15
  • Position: #27 / 74
  • Number of attempts: 5
Generate a list of numbers - 276 entries

Please generate list of numbers from 1 to 20.

  • Best score: 14
  • Best player score: 14
  • Position: #47 / 131
  • Number of attempts: 2
I forgot quotes - 15727 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #702 / 4113
  • Number of attempts: 6
A Simple One - 915 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: #466 / 609
  • Number of attempts: 1
azzal07
Twitter:

entered into 9 challenges

contributed 0 challenges