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 - 33385 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: 24
  • Position: #3007 / 7364
  • Number of attempts: 6
prepend * to every non-blank line - 6208 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 19
  • Position: #1175 / 1517
  • Number of attempts: 2
One number per line - 18616 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #503 / 3842
  • Number of attempts: 9
remove lines containing the word "reader" - 3537 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #155 / 1144
  • Number of attempts: 2
Box it - 7828 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #39 / 1865
  • Number of attempts: 5
Triangular Numbers - 90 entries

Generate the first 50 triangular numbers.

  • Best score: 18
  • Best player score: 18
  • Position: #8 / 26
  • Number of attempts: 2
Cool or not? - 793 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 37
  • Position: #222 / 226
  • Number of attempts: 1
Two pairs of cluster of letters creates word - 735 entries

Clean and group.

  • Best score: 17
  • Best player score: 18
  • Position: #68 / 174
  • Number of attempts: 4
Flip the bit - 120 entries

Change the specific 0 to a 1.

  • Best score: 8
  • Best player score: 8
  • Position: #17 / 71
  • Number of attempts: 1
The D a n k Side of the Moon - 41 entries

You're making a vaporwave cover of The Dark Side of the Moon. So for the tracklisting, you want to: 1. Change the track names to v a p o r c a s e 2. Double the track lengths (since you're slowing them down). Well... let's just double the minutes.

  • Best score: 40
  • Best player score: 68
  • Position: #15 / 15
  • Number of attempts: 1
One to Ten - 2165 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: #76 / 662
  • Number of attempts: 4
Build a six - 272 entries

Just enjoy building "a" floors...

  • Best score: 22
  • Best player score: 23
  • Position: #68 / 92
  • Number of attempts: 1
Increment each number - 977 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 15
  • Position: #16 / 242
  • Number of attempts: 1
move titles next to url, in quotes - 504 entries

had trouble with something similar

  • Best score: 19
  • Best player score: 22
  • Position: #85 / 135
  • Number of attempts: 3
Collect List - 4264 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Position: #414 / 1186
  • Number of attempts: 6
I forgot quotes - 15931 entries

Oops.

  • Best score: 10
  • Best player score: 11
  • Position: #1178 / 4161
  • Number of attempts: 6
David A. Lyon
Twitter:

Interested in development & design of machine/machine & machine/human translation layers as they apply to democratizing plant biology. Will bake you cookies.

entered into 16 challenges

contributed 0 challenges