VimGolf – Real Vim ninjas count every keystroke

3 days ago 1

41582 active golfers, 483105 entries, 610 challenges

Open VimGolf challenges

Reordering properties - 712 entries

Arrange the CSS lines for the #topbar selector based on their complete line length, from shortest to longest.

Sort and Tag - 364 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.

YAML to dotenv - 859 entries

Convert this YAML config file to a .env file.

Generate an entry for each month - 216 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

Nested JSON Flattener - 74 entries

Transform a deeply nested JSON structure into a flattened key-value format where each path is represented by dot notation

The Fibonacci Spacer - 127 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)

Fix the Scala Method - 215 entries

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

Reorganize Pokémon - 575 entries

Change the format of the each line and sort alphabetically.

CaN yOuR ViM dO ThAt? #2 - 52 entries

Tsoding's famous "Can your Vim do that?" https://www.youtube.com/watch?v=F4xc4jQO7ck&t=1429s

CaN yOuR ViM dO ThAt? #1 - 175 entries

Tsoding's famous "Can your Vim do that?" https://youtu.be/Bafo3hhheHU?si=DfcT4sUEMTSAevnx&t=1091

Word completion - 233 entries

Try to complete these options within 20 keystrokes.

Fix timezone format - 282 entries

Add the missing T and Z in the datetime field. There should be a T instead of the space, and a Z at the end of the datetime. `2024-08-31 18:32:00;` -> `2024-08-31T18:32:00Z;`

Copy punctuation - 570 entries

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

Deleting text - 277 entries

Delete everything except some specific numbers.

Resolve the spreadsheet - 26 entries

Replace the formulas in column C with the resulting values. Divisions by zero result in NaN. Operations with NaN also result in NaN.

Hex to binary - 101 entries

Convert hexadecimal numbers into binary format.

Count words - 80 entries

Merge duplicates and count each word.

Reverse even lines - 33 entries

Reverse only the even lines without altering the odd lines.

Format a long line - 94 entries

Reformat long lines (gq), textwidth=78, no trailing spaces.

Evil Numbers - 91 entries

Print the first 100 evil numbers https://oeis.org/A001969. This is an advert for code.golf https://code.golf/evil-numbers#viml

Morse - 155 entries

Translate Morse code to Text

New teacher - 1344 entries

Update the details of the new CS teacher.

Read Entire Article