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

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 37
  • Number of attempts: 2
Rural Post - 3622 entries

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

  • Best score: 9
  • Best player score: 40
  • Number of attempts: 2
Add quotes to ansible playbook - 390 entries

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

  • Best score: 8
  • Best player score: 10
  • Number of attempts: 2
Yo To Hello - 833 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 8
prepend * to every non-blank line - 5701 entries

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

  • Best score: 10
  • Best player score: 22
  • Number of attempts: 1
Hogwarts Email Sorting - 767 entries

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

  • Best score: 20
  • Best player score: 168
  • Number of attempts: 1
Add semicolons - 10283 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 13
  • Number of attempts: 2
One to Ten - 2028 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
  • Number of attempts: 2
remove lines containing the word "reader" - 3409 entries

easy stuff

  • Best score: 9
  • Best player score: 16
  • Number of attempts: 1
Com(m)a Trouble - 3264 entries

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

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 1
Every other line - 2769 entries

AaAaAaA

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
One number per line - 18188 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 29
  • Number of attempts: 3
Just the middle - 11069 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 7
V to the i - 4589 entries

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

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 5
SFD-ROC: The Quick Brown Fox - 147 entries

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

  • Best score: 25
  • Best player score: 28
  • Number of attempts: 2
NATO phonetic alphabet - 431 entries

Transform the series of words into a list.

  • Best score: 19
  • Best player score: 27
  • Number of attempts: 2
Sort the cardinal numbers - 240 entries

Maybe a simple challenge.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 4
Simple text editing with Vim - 11332 entries

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

  • Best score: 13
  • Best player score: 26
  • Number of attempts: 1
Pranshu Goyal
Twitter:

entered into 18 challenges

contributed 0 challenges