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 - 32765 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: 36
  • Position: #6593 / 7241
  • Number of attempts: 1
One number per line - 18294 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 28
  • Position: #3479 / 3770
  • Number of attempts: 1
remove lines containing the word "reader" - 3432 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #167 / 1112
  • Number of attempts: 8
Box it - 7651 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 40
  • Position: #1662 / 1828
  • Number of attempts: 1
Two pairs of cluster of letters creates word - 706 entries

Clean and group.

  • Best score: 17
  • Best player score: 49
  • Position: #155 / 165
  • Number of attempts: 2
One to Ten - 2071 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: 23
  • Position: #570 / 634
  • Number of attempts: 2
Array transposition - 2258 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 45
  • Position: #393 / 426
  • Number of attempts: 2
Collect List - 4155 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 20
  • Position: #1101 / 1161
  • Number of attempts: 2
I forgot quotes - 15666 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #853 / 4098
  • Number of attempts: 11
Words in parens - 12690 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 20
  • Position: #3263 / 3906
  • Number of attempts: 4
john ford
Twitter:

entered into 10 challenges

contributed 0 challenges