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

A simple everyday task.

  • Best score: 39
  • Best player score: 46
  • Position: #83 / 303
  • Number of attempts: 8
Sort and Tag - 614 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: #44 / 126
  • Number of attempts: 13
Changing date formats - 615 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 93
  • Position: #112 / 170
  • Number of attempts: 3
YAML to dotenv - 1226 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 19
  • Position: #83 / 262
  • Number of attempts: 6
Swap columns and transform to CSV format - 386 entries

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

  • Best score: 16
  • Best player score: 16
  • Position: #10 / 143
  • Number of attempts: 8
Generate an entry for each month - 351 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: #54 / 84
  • Number of attempts: 2
The Fibonacci Spacer - 148 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: #18 / 41
  • Number of attempts: 7
Fix the Scala Method - 286 entries

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

  • Best score: 2
  • Best player score: 26
  • Position: #63 / 89
  • Number of attempts: 3
Change class fields from camel case to snake case - 526 entries

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

  • Best score: 18
  • Best player score: 18
  • Position: #33 / 120
  • Number of attempts: 7
Replace csv column if it's not empty - 248 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 / 83
  • Number of attempts: 3
Copy punctuation - 655 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: #34 / 158
  • Number of attempts: 7
months to html list items - 1108 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 24
  • Position: #105 / 300
  • Number of attempts: 8
Simple, Practical, and Common - 33866 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 / 7474
  • Number of attempts: 11
Katie Gardner
Github:

entered into 13 challenges

contributed 0 challenges