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 - 33621 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: #5156 / 7422
  • Number of attempts: 2
Swap values - 4616 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 16
  • Position: #1033 / 1268
  • Number of attempts: 1
One number per line - 18732 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 24
  • Position: #3140 / 3865
  • Number of attempts: 2
V to the i - 4802 entries

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

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

Delete the instructions at the top and bottom.

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

Four is NOT 1. One is 1.

  • Best score: 18
  • Best player score: 32
  • Position: #151 / 184
  • Number of attempts: 1
A grid of punctuation - 137 entries

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

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

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

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

so happy to learn vim.because vim is awesome

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

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 20
  • Position: #1082 / 1137
  • Number of attempts: 1
NBCU Weekly Challenge - Test - 253 entries

Just testing.

  • Best score: 18
  • Best player score: 21
  • Position: #110 / 116
  • Number of attempts: 1
Don't know what this is - 2022 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: #512 / 585
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10669 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2115 / 3684
  • Number of attempts: 2
Words in parens - 12939 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 17
  • Position: #2678 / 3964
  • Number of attempts: 3
Delete unwanted lines - 413 entries

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

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

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

  • Best score: 16
  • Best player score: 17
  • Position: #181 / 209
  • Number of attempts: 1
Shebangs for all - 1999 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: #471 / 516
  • Number of attempts: 2
Change the content of a string - 1580 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 27
  • Position: #480 / 588
  • Number of attempts: 1
cohost.org/quiggy
Twitter:

bi derby girl. she/her. DMs are always open for trans/questioning people. transfems get at me @furiosa_q #ProsecuteICE Please follow my stupid bot @NextIndie.

entered into 18 challenges

contributed 0 challenges