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

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 24
  • Position: #144 / 264
  • Number of attempts: 2
Add semicolons - 10932 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1860 / 3091
  • Number of attempts: 3
Bad Copy Syntax - 2078 entries

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

  • Best score: 18
  • Best player score: 24
  • Position: #375 / 540
  • Number of attempts: 1
remove lines containing the word "reader" - 3643 entries

easy stuff

  • Best score: 9
  • Best player score: 11
  • Position: #931 / 1181
  • Number of attempts: 1
Box it - 7997 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 27
  • Position: #1179 / 1897
  • Number of attempts: 1
One to Ten - 2246 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: #500 / 684
  • Number of attempts: 1
Line under headers - 2093 entries

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

  • Best score: 24
  • Best player score: 38
  • Position: #428 / 514
  • Number of attempts: 1
Collect List - 4332 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 17
  • Position: #1006 / 1196
  • Number of attempts: 1
I forgot quotes - 16176 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2358 / 4216
  • Number of attempts: 2
Words in parens - 13024 entries

We should all ace this, right?

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

entered into 10 challenges

contributed 0 challenges