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

Find the devices that have no revoked time, and extract out the duration left on their leases. - 255 entries

Extract non-revoked devices and the duration of their leases.

  • Best score: 49
  • Best player score: 67
  • Position: #28 / 60
  • Number of attempts: 1
Sort and Tag - 738 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: 85
  • Position: #76 / 157
  • Number of attempts: 3
Changing date formats - 774 entries

Change the date format to Y/M/D.

  • Best score: 36
  • Best player score: 45
  • Position: #29 / 213
  • Number of attempts: 10
YAML to dotenv - 1654 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 16
  • Position: #25 / 347
  • Number of attempts: 6
Change to ascending order - 566 entries

Change each line of numbers consistently from descending to ascending order.

  • Best score: 17
  • Best player score: 46
  • Position: #64 / 138
  • Number of attempts: 5
Swap columns and transform to CSV format - 516 entries

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

  • Best score: 16
  • Best player score: 17
  • Position: #44 / 184
  • Number of attempts: 5
Generate an entry for each month - 398 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: 45
  • Position: #51 / 102
  • Number of attempts: 3
Fix the Scala Method - 379 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: 22
  • Position: #46 / 126
  • Number of attempts: 4
Change class fields from camel case to snake case - 678 entries

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

  • Best score: 18
  • Best player score: 23
  • Position: #90 / 160
  • Number of attempts: 3
Copy punctuation - 760 entries

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

  • Best score: 19
  • Best player score: 81
  • Position: #167 / 188
  • Number of attempts: 2
Change LaTex itemizations formats - 148 entries

Inspired by the way my professor formats their LaTeX assignments.

  • Best score: 43
  • Best player score: 89
  • Position: #18 / 27
  • Number of attempts: 1
thierryharte
Github:

entered into 11 challenges

contributed 0 challenges