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! - 2681 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 35
  • Position: #331 / 624
  • Number of attempts: 1
simple replacements - 1877 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 23
  • Position: #194 / 402
  • Number of attempts: 1
Inverting Lines - 1959 entries

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

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

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 39
  • Position: #278 / 313
  • Number of attempts: 1
Simple, Practical, and Common - 33988 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: #4891 / 7509
  • Number of attempts: 2
One number per line - 18896 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 24
  • Position: #3213 / 3902
  • Number of attempts: 1
Com(m)a Trouble - 3990 entries

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

  • Best score: 12
  • Best player score: 17
  • Position: #570 / 909
  • Number of attempts: 2
Just the middle - 11613 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3564 / 4253
  • Number of attempts: 6
Team names - 1860 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 26
  • Position: #574 / 595
  • Number of attempts: 1
I forgot quotes - 16187 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3278 / 4222
  • Number of attempts: 1
Two become one - 736 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: #143 / 212
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10749 entries

A HAPPY NEW YEAR 2014 !

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

entered into 12 challenges

contributed 0 challenges