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

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 35
  • Position: #316 / 603
  • Number of attempts: 1
simple replacements - 1793 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 23
  • Position: #187 / 389
  • Number of attempts: 1
Inverting Lines - 1907 entries

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

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

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 39
  • Position: #260 / 294
  • Number of attempts: 1
Simple, Practical, and Common - 33722 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: #4866 / 7442
  • Number of attempts: 2
One number per line - 18755 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 24
  • Position: #3194 / 3870
  • Number of attempts: 1
Com(m)a Trouble - 3875 entries

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

  • Best score: 12
  • Best player score: 17
  • Position: #550 / 876
  • Number of attempts: 2
Just the middle - 11483 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3535 / 4209
  • Number of attempts: 6
Team names - 1841 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 26
  • Position: #568 / 589
  • Number of attempts: 1
I forgot quotes - 16022 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3254 / 4189
  • Number of attempts: 1
Two become one - 713 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: #140 / 208
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10682 entries

A HAPPY NEW YEAR 2014 !

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

entered into 12 challenges

contributed 0 challenges