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

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 24
  • Position: #139 / 258
  • Number of attempts: 2
Add semicolons - 10867 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1845 / 3065
  • Number of attempts: 3
Bad Copy Syntax - 2038 entries

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

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

easy stuff

  • Best score: 9
  • Best player score: 11
  • Position: #915 / 1163
  • Number of attempts: 1
Box it - 7906 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 27
  • Position: #1168 / 1877
  • Number of attempts: 1
One to Ten - 2219 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: #493 / 672
  • Number of attempts: 1
Line under headers - 2045 entries

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

  • Best score: 24
  • Best player score: 38
  • Position: #419 / 504
  • 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 - 15990 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2337 / 4182
  • Number of attempts: 2
Words in parens - 12939 entries

We should all ace this, right?

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

entered into 10 challenges

contributed 0 challenges