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

Fix the shell script! - 1606 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 35
  • Position: #206 / 395
  • Number of attempts: 1
simple replacements - 1211 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 23
  • Position: #142 / 273
  • Number of attempts: 1
Inverting Lines - 1534 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 10
  • Position: #4 / 416
  • Number of attempts: 1
Python dataclasses - 761 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 39
  • Position: #173 / 192
  • Number of attempts: 1
Simple, Practical, and Common - 33100 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: 29
  • Position: #4784 / 7301
  • Number of attempts: 2
One number per line - 18480 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 24
  • Position: #3149 / 3811
  • Number of attempts: 1
Com(m)a Trouble - 3496 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 17
  • Position: #501 / 784
  • Number of attempts: 2
Just the middle - 11283 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3484 / 4140
  • Number of attempts: 6
Team names - 1790 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 26
  • Position: #556 / 575
  • Number of attempts: 1
I forgot quotes - 15840 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3211 / 4133
  • Number of attempts: 1
Two become one - 706 entries

We have two c arrays and want to make one two dimensional out of it. Can we do that?

  • Best score: 25
  • Best player score: 34
  • Position: #138 / 204
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10564 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 15
  • Position: #3113 / 3646
  • Number of attempts: 1
Mark Blakeney
Twitter:

entered into 12 challenges

contributed 0 challenges