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: 23
  • Position: #2454 / 7422
  • Number of attempts: 4
One number per line - 18732 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Position: #1078 / 3865
  • Number of attempts: 8
Split line with dots - 2144 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 15
  • Position: #20 / 634
  • Number of attempts: 7
One to Ten - 2219 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 14
  • Position: #445 / 672
  • Number of attempts: 3
From A to B - 591 entries

Mirror and change this text block

  • Best score: 16
  • Best player score: 17
  • Position: #78 / 159
  • Number of attempts: 5
Collect List - 4298 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 13
  • Position: #563 / 1190
  • Number of attempts: 4
Space out the alphabet - 1657 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 22
  • Position: #321 / 444
  • Number of attempts: 4
-a-b-c- - 3213 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 14
  • Position: #343 / 1137
  • Number of attempts: 2
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: 12
  • Position: #198 / 585
  • Number of attempts: 7
attr_aligner - 3520 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 30
  • Position: #380 / 702
  • Number of attempts: 2
Michal Sylwester
Twitter:

entered into 10 challenges

contributed 0 challenges