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 - 32992 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: #2410 / 7283
  • Number of attempts: 4
One number per line - 18426 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Position: #1054 / 3799
  • Number of attempts: 8
Split line with dots - 2111 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 15
  • Position: #20 / 624
  • Number of attempts: 7
One to Ten - 2113 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: #421 / 645
  • Number of attempts: 3
From A to B - 556 entries

Mirror and change this text block

  • Best score: 16
  • Best player score: 17
  • Position: #74 / 153
  • Number of attempts: 5
Collect List - 4191 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 13
  • Position: #552 / 1170
  • Number of attempts: 4
Space out the alphabet - 1600 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 22
  • Position: #315 / 435
  • Number of attempts: 4
-a-b-c- - 3125 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 14
  • Position: #337 / 1114
  • Number of attempts: 2
Don't know what this is - 1959 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: #192 / 574
  • Number of attempts: 7
attr_aligner - 3402 entries

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

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

entered into 10 challenges

contributed 0 challenges