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

Python dataclasses - 982 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 37
  • Position: #210 / 248
  • Number of attempts: 2
Rural Post - 4352 entries

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

  • Best score: 9
  • Best player score: 40
  • Position: #1015 / 1066
  • Number of attempts: 2
Add quotes to ansible playbook - 872 entries

You created an ansible playbook, but forgot to add quotes. Can you fix it?

  • Best score: 8
  • Best player score: 10
  • Position: #210 / 274
  • Number of attempts: 2
Yo To Hello - 1107 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #297 / 512
  • Number of attempts: 8
Hogwarts Email Sorting - 875 entries

Given a list of emails, get the students full name and their associated house.

  • Best score: 20
  • Best player score: 168
  • Position: #251 / 253
  • Number of attempts: 1
prepend * to every non-blank line - 6202 entries

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

  • Best score: 10
  • Best player score: 22
  • Position: #1376 / 1514
  • Number of attempts: 1
One number per line - 18615 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 29
  • Position: #3603 / 3841
  • Number of attempts: 3
V to the i - 4743 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Position: #1470 / 1878
  • Number of attempts: 5
Add semicolons - 10785 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 13
  • Position: #2055 / 3042
  • Number of attempts: 2
remove lines containing the word "reader" - 3528 entries

easy stuff

  • Best score: 9
  • Best player score: 16
  • Position: #1089 / 1142
  • Number of attempts: 1
Just the middle - 11346 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1456 / 4160
  • Number of attempts: 7
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: 17
  • Position: #550 / 660
  • Number of attempts: 2
NATO phonetic alphabet - 498 entries

Transform the series of words into a list.

  • Best score: 19
  • Best player score: 27
  • Position: #166 / 189
  • Number of attempts: 2
SFD-ROC: The Quick Brown Fox - 168 entries

Someone has vandalized our text (again). Please fix to read: The Quick Brown Fox Jumps Over The Lazy Dog.

  • Best score: 24
  • Best player score: 28
  • Position: #74 / 100
  • Number of attempts: 2
Sort the cardinal numbers - 293 entries

Maybe a simple challenge.

  • Best score: 12
  • Best player score: 12
  • Position: #51 / 146
  • Number of attempts: 4
Simple text editing with Vim - 12233 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 26
  • Position: #3119 / 3567
  • Number of attempts: 1
Pranshu Goyal
Twitter:

entered into 16 challenges

contributed 0 challenges