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 - 33664 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: #3024 / 7429
  • Number of attempts: 6
prepend * to every non-blank line - 6323 entries

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

  • Best score: 10
  • Best player score: 19
  • Position: #1197 / 1542
  • Number of attempts: 2
One number per line - 18751 entries

Just give me the numbers.

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

easy stuff

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

Create a box around a line.

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

Generate the first 50 triangular numbers.

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

abc trying to be cool or not...

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

Clean and group.

  • Best score: 17
  • Best player score: 18
  • Position: #69 / 178
  • Number of attempts: 4
Flip the bit - 129 entries

Change the specific 0 to a 1.

  • Best score: 8
  • Best player score: 8
  • Position: #17 / 74
  • Number of attempts: 1
The D a n k Side of the Moon - 50 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: #17 / 17
  • Number of attempts: 1
One to Ten - 2220 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 / 673
  • Number of attempts: 4
Build a six - 294 entries

Just enjoy building "a" floors...

  • Best score: 22
  • Best player score: 23
  • Position: #71 / 95
  • Number of attempts: 1
Increment each number - 1023 entries

Increment each number individually by one

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

had trouble with something similar

  • Best score: 19
  • Best player score: 22
  • Position: #87 / 141
  • Number of attempts: 3
Collect List - 4305 entries

Convert to comma separated list.

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

Oops.

  • Best score: 10
  • Best player score: 11
  • Position: #1183 / 4186
  • 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