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

Rural Post - 4115 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 10
  • Position: #359 / 1017
  • Number of attempts: 4
prepend * to every non-blank line - 5977 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #483 / 1468
  • Number of attempts: 6
Swap values inside brackets - 2433 entries

Easy challenge.

  • Best score: 14
  • Best player score: 14
  • Position: #63 / 561
  • Number of attempts: 5
Applying same text modification in several lines - 2751 entries

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

  • Best score: 12
  • Best player score: 14
  • Position: #391 / 815
  • Number of attempts: 4
Add string initializers to an enum - 774 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 22
  • Position: #71 / 228
  • Number of attempts: 5
Add semicolons - 10545 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1044 / 2989
  • Number of attempts: 1
remove lines containing the word "reader" - 3454 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Position: #680 / 1121
  • Number of attempts: 1
Com(m)a Trouble - 3410 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 13
  • Position: #300 / 764
  • Number of attempts: 6
Box it - 7682 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #674 / 1836
  • Number of attempts: 3
Just the middle - 11141 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2904 / 4114
  • Number of attempts: 1
Basic renumbering - 5436 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 11
  • Position: #213 / 1228
  • Number of attempts: 7
Vice versa - 7535 entries

Little role switching.

  • Best score: 12
  • Best player score: 13
  • Position: #791 / 2048
  • Number of attempts: 6
One to Ten - 2095 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
  • Position: #218 / 642
  • Number of attempts: 2
Line under headers - 1918 entries

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

  • Best score: 24
  • Best player score: 28
  • Position: #199 / 472
  • Number of attempts: 2
Join 'em - 229 entries

This shouldn't be too tough

  • Best score: 4
  • Best player score: 5
  • Position: #102 / 135
  • Number of attempts: 2
change parenthesis - 251 entries

change the pair of braces into a pair of parentheses

  • Best score: 9
  • Best player score: 10
  • Position: #119 / 140
  • Number of attempts: 1
Collect List - 4184 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 13
  • Position: #599 / 1167
  • Number of attempts: 4
I forgot quotes - 15748 entries

Oops.

  • Best score: 10
  • Best player score: 11
  • Position: #1179 / 4116
  • Number of attempts: 6
Words in parens - 12736 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1782 / 3919
  • Number of attempts: 6
replacing each line of a block selection - 2800 entries

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

  • Best score: 18
  • Best player score: 19
  • Position: #205 / 735
  • Number of attempts: 6
ErQ325
Twitter:

entered into 20 challenges

contributed 0 challenges