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: 22
  • Position: #1682 / 7422
  • Number of attempts: 5
One number per line - 18732 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 38
  • Position: #3779 / 3865
  • Number of attempts: 1
Applying same text modification in several lines - 2882 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 14
  • Position: #367 / 852
  • Number of attempts: 2
Box it - 7906 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #581 / 1877
  • Number of attempts: 3
Two pairs of cluster of letters creates word - 749 entries

Clean and group.

  • Best score: 17
  • Best player score: 18
  • Position: #66 / 178
  • Number of attempts: 2
Vice versa - 7910 entries

Little role switching.

  • Best score: 12
  • Best player score: 14
  • Position: #957 / 2129
  • Number of attempts: 6
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: 12
  • Position: #68 / 672
  • Number of attempts: 2
Put the months in order - 974 entries

Our contractor thought that months should be in alphabetical order. Put them in calendar order please.

  • Best score: 20
  • Best player score: 31
  • Position: #51 / 163
  • Number of attempts: 3
I forgot quotes - 15990 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1832 / 4182
  • Number of attempts: 4
Words in parens - 12939 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #963 / 3964
  • Number of attempts: 6
James Perry Hartman
Twitter:

Software engineer at Oracle. he/him

entered into 10 challenges

contributed 0 challenges