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 - 873 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 24
  • Position: #140 / 259
  • Number of attempts: 2
Add semicolons - 10877 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1849 / 3070
  • Number of attempts: 3
Bad Copy Syntax - 2040 entries

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

  • Best score: 18
  • Best player score: 24
  • Position: #368 / 527
  • Number of attempts: 1
remove lines containing the word "reader" - 3597 entries

easy stuff

  • Best score: 9
  • Best player score: 11
  • Position: #918 / 1167
  • Number of attempts: 1
Box it - 7915 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 27
  • Position: #1170 / 1880
  • Number of attempts: 1
One to Ten - 2225 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: #494 / 676
  • Number of attempts: 1
Line under headers - 2054 entries

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

  • Best score: 24
  • Best player score: 38
  • Position: #420 / 506
  • Number of attempts: 1
Collect List - 4305 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 17
  • Position: #1002 / 1191
  • Number of attempts: 1
I forgot quotes - 16014 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2342 / 4188
  • Number of attempts: 2
Words in parens - 12957 entries

We should all ace this, right?

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

entered into 10 challenges

contributed 0 challenges