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

Add string initializers to an enum - 884 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 24
  • Position: #142 / 261
  • Number of attempts: 2
Add semicolons - 10899 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1852 / 3078
  • Number of attempts: 3
Bad Copy Syntax - 2052 entries

Copy should be from right to left, but sometimes you type it wrong.

  • Best score: 18
  • Best player score: 24
  • Position: #371 / 534
  • Number of attempts: 1
remove lines containing the word "reader" - 3614 entries

easy stuff

  • Best score: 9
  • Best player score: 11
  • Position: #924 / 1173
  • Number of attempts: 1
Box it - 7954 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 27
  • Position: #1175 / 1886
  • Number of attempts: 1
One to Ten - 2240 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: 14
  • Position: #498 / 681
  • Number of attempts: 1
Line under headers - 2072 entries

Put a line under each header, and remove the other markdown formatting.

  • Best score: 24
  • Best player score: 38
  • Position: #424 / 510
  • Number of attempts: 1
Collect List - 4312 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 17
  • Position: #1003 / 1193
  • Number of attempts: 1
I forgot quotes - 16061 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2346 / 4195
  • Number of attempts: 2
Words in parens - 12975 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2507 / 3971
  • Number of attempts: 1
Daniel Amkær Sørensen
Twitter:

entered into 10 challenges

contributed 0 challenges