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 - 33483 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: #3012 / 7384
  • Number of attempts: 6
prepend * to every non-blank line - 6254 entries

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

  • Best score: 10
  • Best player score: 19
  • Position: #1185 / 1530
  • Number of attempts: 2
One number per line - 18673 entries

Just give me the numbers.

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

easy stuff

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

Create a box around a line.

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

Generate the first 50 triangular numbers.

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

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 37
  • Position: #224 / 228
  • Number of attempts: 1
Two pairs of cluster of letters creates word - 747 entries

Clean and group.

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

Change the specific 0 to a 1.

  • Best score: 7
  • Best player score: 8
  • Position: #18 / 73
  • Number of attempts: 1
The D a n k Side of the Moon - 43 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: #16 / 16
  • Number of attempts: 1
One to Ten - 2174 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 / 664
  • Number of attempts: 4
Build a six - 277 entries

Just enjoy building "a" floors...

  • Best score: 22
  • Best player score: 23
  • Position: #70 / 94
  • Number of attempts: 1
Increment each number - 995 entries

Increment each number individually by one

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

had trouble with something similar

  • Best score: 19
  • Best player score: 22
  • Position: #86 / 137
  • Number of attempts: 3
Collect List - 4267 entries

Convert to comma separated list.

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

Oops.

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