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

Convert list of enums to list of localization terms - 151 entries

While making my game Piloteer, I had a large list of TaskTypes and needed to convert them to an equivalent list of localization terms, to be used when translating the game's text into different languages.

  • Best score: 75
  • Best player score: 103
  • Position: #17 / 46
  • Number of attempts: 13
From brakets to parens - 1134 entries

This is one of the most common problem when you wrap an array for error handling. Vim is useful when you convert foo[i][j][k] into foo(i, j, k) for many times.

  • Best score: 24
  • Best player score: 38
  • Position: #138 / 249
  • Number of attempts: 1
Create json from a .env file - 1582 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 61
  • Position: #189 / 376
  • Number of attempts: 2
Nested JSON Flattener - 132 entries

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

  • Best score: 44
  • Best player score: 72
  • Position: #19 / 30
  • Number of attempts: 1
Replace markdown sections with numbering - 309 entries

Replace each section and subsection with their respective numbers

  • Best score: 29
  • Best player score: 35
  • Position: #15 / 85
  • Number of attempts: 16
Change class fields from snake case to camel case - 312 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #31 / 115
  • Number of attempts: 12
Replace csv column if it's not empty - 270 entries

Replace the credit_score_percentile column with the value 0.0 but leave the empty ones untouched

  • Best score: 15
  • Best player score: 16
  • Position: #50 / 92
  • Number of attempts: 2
Markdown Blog Editing - 467 entries

Convert the given link text in start file to a markdown link list.

  • Best score: 30
  • Best player score: 61
  • Position: #81 / 108
  • Number of attempts: 1
Fix timezone format - 330 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;`

  • Best score: 15
  • Best player score: 24
  • Position: #100 / 107
  • Number of attempts: 3
Search different SQL column with similar where clause - 336 entries

Replace a column in the where clause and convert all numbers from text to numeric, by replacing the leading 0 with the code 359.

  • Best score: 22
  • Best player score: 58
  • Position: #77 / 79
  • Number of attempts: 2
M S Dheeraj Murthy
Github:

entered into 10 challenges

contributed 0 challenges