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

Lowercase first characters - 487 entries

This is the (abridged) input for Day 3 in Advent of Code 2019. The output is a format more suitable for Prolog programming: the two lines of input become two lists of pairs, joined together in a wires functor.

  • Best score: 33
  • Best player score: 46
  • Position: #132 / 183
  • Number of attempts: 1
simple replacements - 1793 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 19
  • Position: #26 / 389
  • Number of attempts: 12
RUST match with enum for Coin - 183 entries

RUST match with enum for Coin rusty practice on vimgolf

  • Best score: 84
  • Best player score: 151
  • Position: #48 / 53
  • Number of attempts: 1
Rural Post - 4515 entries

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

  • Best score: 9
  • Best player score: 9
  • Position: #30 / 1106
  • Number of attempts: 5
Add quotes to ansible playbook - 1001 entries

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

  • Best score: 8
  • Best player score: 9
  • Position: #141 / 316
  • Number of attempts: 6
Simple, Practical, and Common - 33722 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 24
  • Position: #3100 / 7442
  • Number of attempts: 7
Hogwarts Email Sorting - 928 entries

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

  • Best score: 20
  • Best player score: 20
  • Position: #40 / 262
  • Number of attempts: 15
Get mail address from outlook format - 649 entries

Create a mail list space separated of mail list formatted by outlook

  • Best score: 15
  • Best player score: 15
  • Position: #51 / 204
  • Number of attempts: 10
prepend * to every non-blank line - 6332 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #323 / 1545
  • Number of attempts: 8
V to the i - 4813 entries

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

  • Best score: 7
  • Best player score: 7
  • Position: #753 / 1897
  • Number of attempts: 6
SCREAMING_SNAKE_CASE to Title Case - 1215 entries

Convert strings in SCREAMING_SNAKE_CASE to Title Case. Examples: EMPLOYEE_NAME -> Employee Name REVENUE_YEAR_TO_DATE -> Revenue Year To Date SALARY -> Salary

  • Best score: 19
  • Best player score: 19
  • Position: #48 / 250
  • Number of attempts: 11
Add semicolons - 10881 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #653 / 3072
  • Number of attempts: 3
Box it - 7916 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 31
  • Position: #1468 / 1881
  • Number of attempts: 1
Vice versa - 7942 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #570 / 2137
  • Number of attempts: 12
Words in parens - 12967 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #1132 / 3969
  • Number of attempts: 4
noam teyssier
Twitter:

entered into 15 challenges

contributed 0 challenges