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

attr_aligner - 2957 entries

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

  • Best score: 19
  • Best player score: 30
  • Number of attempts: 2
One number per line - 12155 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 8
Simple, Practical, and Common - 24044 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: 2
  • Best player score: 23
  • Number of attempts: 4
From A to B - 487 entries

Mirror and change this text block

  • Best score: 16
  • Best player score: 17
  • Number of attempts: 5
Split line with dots - 1794 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 7
Don't know what this is - 1711 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
  • Number of attempts: 7
Space out the alphabet - 1338 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 22
  • Number of attempts: 4
Collect List - 3411 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 4
One to Ten - 774 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
  • Number of attempts: 3
-a-b-c- - 2530 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 2
Michal Sylwester
Twitter:

entered into 10 challenges

contributed 0 challenges