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

I forgot quotes - 14487 entries

Oops.

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 6
Just the middle - 10445 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
Applying same text modification in several lines - 2461 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 4
replacing each line of a block selection - 2694 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 19
  • Number of attempts: 6
Add semicolons - 8216 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 1
remove lines containing the word "reader" - 2929 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Number of attempts: 1
Basic renumbering - 5153 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 7
One to Ten - 1739 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: 12
  • Number of attempts: 2
prepend * to every non-blank line - 3347 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 6
Swap values inside brackets - 2156 entries

Easy challenge.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 5
Collect List - 3930 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 4
Words in parens - 12075 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 6
Vice versa - 6926 entries

Little role switching.

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 6
Line under headers - 1469 entries

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

  • Best score: 25
  • Best player score: 28
  • Number of attempts: 2
Add string initializers to an enum - 631 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 22
  • Number of attempts: 5
change parenthesis - 219 entries

change the pair of braces into a pair of parentheses

  • Best score: 9
  • Best player score: 10
  • Number of attempts: 1
Box it - 6340 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Number of attempts: 3
Join 'em - 192 entries

This shouldn't be too tough

  • Best score: 4
  • Best player score: 5
  • Number of attempts: 2
ErQ325
Twitter:

entered into 18 challenges

contributed 0 challenges