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

A simple everyday task.

  • Best score: 39
  • Best player score: 39
  • Position: #14 / 309
  • Number of attempts: 14
Reordering properties - 1050 entries

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

  • Best score: 24
  • Best player score: 39
  • Position: #37 / 243
  • Number of attempts: 7
Sort and Tag - 622 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: 83
  • Position: #62 / 127
  • Number of attempts: 4
Changing date formats - 615 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 69
  • Position: #73 / 170
  • Number of attempts: 3
YAML to dotenv - 1255 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 16
  • Position: #34 / 266
  • Number of attempts: 10
Change to ascending order - 450 entries

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

  • Best score: 17
  • Best player score: 18
  • Position: #18 / 110
  • Number of attempts: 8
Swap columns and transform to CSV format - 387 entries

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

  • Best score: 16
  • Best player score: 18
  • Position: #77 / 144
  • Number of attempts: 2
Fix the git merge conflicts - 288 entries

Solve the merge conflicts in the Python file

  • Best score: 36
  • Best player score: 45
  • Position: #22 / 78
  • Number of attempts: 8
Replace markdown sections with numbering - 287 entries

Replace each section and subsection with their respective numbers

  • Best score: 29
  • Best player score: 35
  • Position: #16 / 73
  • Number of attempts: 10
Fix the Scala Method - 289 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: #36 / 91
  • 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: #34 / 120
  • Number of attempts: 5
Change class fields from snake case to camel case - 278 entries

Change the class fields in this Scala class from snake case to camel case

  • Best score: 13
  • Best player score: 14
  • Position: #74 / 104
  • Number of attempts: 1
Reorganize Pokémon - 696 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 23
  • Position: #139 / 191
  • Number of attempts: 1
Copy punctuation - 671 entries

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

  • Best score: 19
  • Best player score: 37
  • Position: #87 / 159
  • Number of attempts: 3
Morse - 155 entries

Translate Morse code to Text

  • Best score: 31
  • Best player score: 77
  • Position: #22 / 35
  • Number of attempts: 4
Box it - 7962 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #456 / 1891
  • Number of attempts: 9
Hessesian
Github:

entered into 16 challenges

contributed 0 challenges