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 - 33982 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: #5194 / 7508
  • Number of attempts: 2
Swap values - 4703 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 16
  • Position: #1046 / 1291
  • Number of attempts: 1
One number per line - 18894 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 24
  • Position: #3162 / 3901
  • Number of attempts: 2
V to the i - 4864 entries

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

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

Delete the instructions at the top and bottom.

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

Four is NOT 1. One is 1.

  • Best score: 18
  • Best player score: 32
  • Position: #153 / 186
  • Number of attempts: 1
A grid of punctuation - 145 entries

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

  • Best score: 16
  • Best player score: 22
  • Position: #57 / 63
  • Number of attempts: 1
Happy TvvO - 438 entries

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

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

so happy to learn vim.because vim is awesome

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

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 20
  • Position: #1090 / 1145
  • Number of attempts: 1
NBCU Weekly Challenge - Test - 262 entries

Just testing.

  • Best score: 18
  • Best player score: 21
  • Position: #113 / 119
  • Number of attempts: 1
Don't know what this is - 2048 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: #517 / 592
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10749 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2129 / 3712
  • Number of attempts: 2
Words in parens - 13033 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 17
  • Position: #2692 / 3987
  • Number of attempts: 3
Delete unwanted lines - 441 entries

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

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

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

  • Best score: 16
  • Best player score: 17
  • Position: #189 / 220
  • Number of attempts: 1
Shebangs for all - 2098 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: #484 / 531
  • Number of attempts: 2
Change the content of a string - 1779 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 27
  • Position: #524 / 651
  • 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