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. - 53 entries

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

  • Best score: 50
  • Best player score: 67
  • Position: #9 / 20
  • Number of attempts: 1
Sort and Tag - 676 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: #69 / 140
  • Number of attempts: 3
Changing date formats - 687 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 45
  • Position: #26 / 188
  • Number of attempts: 10
YAML to dotenv - 1459 entries

Convert this YAML config file to a .env file.

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

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

  • Best score: 17
  • Best player score: 46
  • Position: #56 / 120
  • Number of attempts: 5
Swap columns and transform to CSV format - 426 entries

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

  • Best score: 16
  • Best player score: 17
  • Position: #43 / 154
  • Number of attempts: 5
Generate an entry for each month - 369 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: #47 / 91
  • Number of attempts: 3
Fix the Scala Method - 306 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 / 98
  • Number of attempts: 4
Change class fields from camel case to snake case - 572 entries

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

  • Best score: 18
  • Best player score: 23
  • Position: #79 / 133
  • Number of attempts: 3
Copy punctuation - 684 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: #147 / 167
  • Number of attempts: 2
Change LaTex itemizations formats - 129 entries

Inspired by the way my professor formats their LaTeX assignments.

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

entered into 11 challenges

contributed 0 challenges