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 - 32953 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: 30
  • Position: #5063 / 7275
  • Number of attempts: 2
Swap values - 4440 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 16
  • Position: #1007 / 1241
  • Number of attempts: 1
One number per line - 18395 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 24
  • Position: #3085 / 3793
  • Number of attempts: 2
V to the i - 4641 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Position: #504 / 1857
  • Number of attempts: 3
Just the middle - 11141 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #861 / 4114
  • Number of attempts: 4
Scrambled numbers - 772 entries

Four is NOT 1. One is 1.

  • Best score: 18
  • Best player score: 32
  • Position: #147 / 179
  • Number of attempts: 1
A grid of punctuation - 117 entries

Create a checkerboard of = and - in an 80×24 grid!

  • Best score: 16
  • Best player score: 22
  • Position: #51 / 55
  • Number of attempts: 1
Happy TvvO - 392 entries

Don’t forget the past, learn from it. Happy New Year.

  • Best score: 12
  • Best player score: 12
  • Position: #113 / 195
  • Number of attempts: 2
learn vim in short time - 219 entries

so happy to learn vim.because vim is awesome

  • Best score: 8
  • Best player score: 8
  • Position: #87 / 150
  • Number of attempts: 1
-a-b-c- - 3118 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 20
  • Position: #1058 / 1112
  • Number of attempts: 1
NBCU Weekly Challenge - Test - 233 entries

Just testing.

  • Best score: 18
  • Best player score: 21
  • Position: #106 / 112
  • Number of attempts: 1
Don't know what this is - 1951 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 16
  • Position: #501 / 572
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10538 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2086 / 3638
  • Number of attempts: 2
Words in parens - 12736 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 17
  • Position: #2643 / 3919
  • Number of attempts: 3
Delete unwanted lines - 358 entries

Delete all lines which does not end in "o.."

  • Best score: 9
  • Best player score: 9
  • Position: #156 / 215
  • Number of attempts: 1
The holy-grail may help - 322 entries

Can you find it in less than 20 strokes, Arthur?

  • Best score: 16
  • Best player score: 17
  • Position: #173 / 196
  • Number of attempts: 1
Shebangs for all - 1777 entries

We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.

  • Best score: 11
  • Best player score: 24
  • Position: #435 / 468
  • Number of attempts: 2
Change the content of a string - 1350 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 27
  • Position: #428 / 521
  • Number of attempts: 1
quiggy🌹
Twitter:

communism is really good, imo. she/her

entered into 18 challenges

contributed 0 challenges