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

Create json from a .env file - 767 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 46
  • Position: #51 / 174
  • Number of attempts: 8
Sort and Tag - 446 entries

The goal is to sort these lines alphabetically, assign a unique identifier to each line in the format "[01]", "[02]", etc., and then restore the original order of the lines while preserving the assigned identifiers.

  • Best score: 36
  • Best player score: 59
  • Position: #37 / 94
  • Number of attempts: 13
Changing date formats - 458 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 93
  • Position: #91 / 141
  • Number of attempts: 3
YAML to dotenv - 969 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 19
  • Position: #66 / 212
  • Number of attempts: 6
Swap columns and transform to CSV format - 319 entries

Turn this spreadsheet output into a CSV file but first swap the columns

  • Best score: 16
  • Best player score: 16
  • Position: #10 / 118
  • Number of attempts: 8
Generate an entry for each month - 237 entries

The input file contains a URI with a month in it. Generate the URIs for all the other months up to a couple of years

  • Best score: 27
  • Best player score: 56
  • Position: #42 / 67
  • Number of attempts: 2
The Fibonacci Spacer - 135 entries

Split the words, remove punctuation and add spaces before each line following the Fibonacci sequence (0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89)

  • Best score: 25
  • Best player score: 43
  • Position: #17 / 39
  • Number of attempts: 7
Fix the Scala Method - 236 entries

Fix the missing semicolons and the Int type, ensure the floating point division, and remove the unnecessary return.

  • Best score: 9
  • Best player score: 26
  • Position: #56 / 75
  • Number of attempts: 3
Change class fields from camel case to snake case - 457 entries

This is the reverse of the previous challenge: https://www.vimgolf.com/challenges/9v006705493c000000000513

  • Best score: 18
  • Best player score: 18
  • Position: #33 / 110
  • Number of attempts: 7
Replace csv column if it's not empty - 204 entries

Replace the credit_score_percentile column with the value 0.0 but leave the empty ones untouched

  • Best score: 15
  • Best player score: 15
  • Position: #29 / 70
  • Number of attempts: 3
Copy punctuation - 599 entries

I want to copy the last line’s brackets, quotes, and commas to each line. How?

  • Best score: 19
  • Best player score: 25
  • Position: #32 / 149
  • Number of attempts: 7
months to html list items - 1088 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 24
  • Position: #104 / 295
  • Number of attempts: 8
Simple, Practical, and Common - 33787 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: 22
  • Position: #2417 / 7454
  • Number of attempts: 11
Katie Gardner
Github:

entered into 13 challenges

contributed 0 challenges