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

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 37
  • Position: #270 / 313
  • Number of attempts: 2
Rural Post - 4596 entries

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

  • Best score: 9
  • Best player score: 40
  • Position: #1068 / 1122
  • Number of attempts: 2
Add quotes to ansible playbook - 1042 entries

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

  • Best score: 8
  • Best player score: 10
  • Position: #241 / 331
  • Number of attempts: 2
Yo To Hello - 1155 entries

Simply Turn Yo To Hello

  • Best score: 8
  • Best player score: 10
  • Position: #298 / 536
  • Number of attempts: 8
Hogwarts Email Sorting - 952 entries

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

  • Best score: 20
  • Best player score: 168
  • Position: #269 / 271
  • Number of attempts: 1
prepend * to every non-blank line - 6390 entries

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

  • Best score: 10
  • Best player score: 22
  • Position: #1419 / 1560
  • Number of attempts: 1
One number per line - 18894 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 29
  • Position: #3651 / 3901
  • Number of attempts: 3
V to the i - 4864 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1486 / 1912
  • Number of attempts: 5
Add semicolons - 10951 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 13
  • Position: #2094 / 3096
  • Number of attempts: 2
remove lines containing the word "reader" - 3646 entries

easy stuff

  • Best score: 9
  • Best player score: 16
  • Position: #1129 / 1183
  • Number of attempts: 1
Just the middle - 11611 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1456 / 4252
  • Number of attempts: 7
One to Ten - 2249 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: #570 / 687
  • Number of attempts: 2
NATO phonetic alphabet - 547 entries

Transform the series of words into a list.

  • Best score: 19
  • Best player score: 27
  • Position: #174 / 199
  • Number of attempts: 2
SFD-ROC: The Quick Brown Fox - 212 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: #79 / 110
  • Number of attempts: 2
Sort the cardinal numbers - 326 entries

Maybe a simple challenge.

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

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

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

entered into 16 challenges

contributed 0 challenges