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

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 35
  • Position: #164 / 307
  • Number of attempts: 1
simple replacements - 1137 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 23
  • Position: #133 / 252
  • Number of attempts: 1
Inverting Lines - 1398 entries

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

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

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 39
  • Position: #161 / 178
  • Number of attempts: 1
Simple, Practical, and Common - 32983 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: #4771 / 7282
  • Number of attempts: 2
One number per line - 18426 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 24
  • Position: #3141 / 3799
  • Number of attempts: 1
Com(m)a Trouble - 3438 entries

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

  • Best score: 12
  • Best player score: 17
  • Position: #490 / 768
  • Number of attempts: 2
Just the middle - 11261 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3479 / 4135
  • Number of attempts: 6
Team names - 1780 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 26
  • Position: #552 / 571
  • Number of attempts: 1
I forgot quotes - 15769 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3200 / 4119
  • Number of attempts: 1
Two become one - 703 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: #137 / 202
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10555 entries

A HAPPY NEW YEAR 2014 !

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

entered into 12 challenges

contributed 0 challenges