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

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 24
  • Position: #137 / 254
  • Number of attempts: 2
Add semicolons - 10785 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1829 / 3042
  • Number of attempts: 3
Bad Copy Syntax - 1999 entries

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

  • Best score: 18
  • Best player score: 24
  • Position: #361 / 514
  • Number of attempts: 1
remove lines containing the word "reader" - 3528 entries

easy stuff

  • Best score: 9
  • Best player score: 11
  • Position: #897 / 1142
  • Number of attempts: 1
Box it - 7818 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 27
  • Position: #1158 / 1861
  • Number of attempts: 1
One to Ten - 2159 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: #483 / 660
  • Number of attempts: 1
Line under headers - 1996 entries

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

  • Best score: 24
  • Best player score: 38
  • Position: #414 / 494
  • Number of attempts: 1
Collect List - 4261 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 17
  • Position: #998 / 1185
  • Number of attempts: 1
I forgot quotes - 15923 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2327 / 4159
  • Number of attempts: 2
Words in parens - 12850 entries

We should all ace this, right?

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

entered into 10 challenges

contributed 0 challenges