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 - 32904 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: #2963 / 7270
  • Number of attempts: 6
prepend * to every non-blank line - 5959 entries

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

  • Best score: 10
  • Best player score: 19
  • Position: #1129 / 1463
  • Number of attempts: 2
One number per line - 18377 entries

Just give me the numbers.

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

easy stuff

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

Create a box around a line.

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

Generate the first 50 triangular numbers.

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

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 37
  • Position: #212 / 216
  • Number of attempts: 1
Two pairs of cluster of letters creates word - 710 entries

Clean and group.

  • Best score: 17
  • Best player score: 18
  • Position: #65 / 166
  • Number of attempts: 4
Flip the bit - 108 entries

Change the specific 0 to a 1.

  • Best score: 8
  • Best player score: 8
  • Position: #17 / 64
  • Number of attempts: 1
The D a n k Side of the Moon - 40 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: #14 / 14
  • Number of attempts: 1
One to Ten - 2093 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 / 641
  • Number of attempts: 4
Build a six - 267 entries

Just enjoy building "a" floors...

  • Best score: 22
  • Best player score: 23
  • Position: #66 / 89
  • Number of attempts: 1
Increment each number - 946 entries

Increment each number individually by one

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

had trouble with something similar

  • Best score: 19
  • Best player score: 22
  • Position: #81 / 128
  • Number of attempts: 3
Collect List - 4178 entries

Convert to comma separated list.

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

Oops.

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