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

Replace markdown sections with numbering - 144 entries

Replace each section and subsection with their respective numbers

  • Best score: 29
  • Best player score: 38
  • Position: #11 / 43
  • Number of attempts: 3
Change class fields from camel case to snake case - 277 entries

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

  • Best score: 18
  • Best player score: 24
  • Position: #45 / 71
  • Number of attempts: 2
Reorganize Pokémon - 304 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 21
  • Position: #48 / 82
  • Number of attempts: 4
Replace csv column if it's not empty - 95 entries

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

  • Best score: 15
  • Best player score: 17
  • Position: #27 / 39
  • Number of attempts: 1
CaN yOuR ViM dO ThAt? #1 - 82 entries

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

  • Best score: 41
  • Best player score: 46
  • Position: #20 / 35
  • Number of attempts: 1
Move list of uuids into a SQL query - 69 entries

Take the list of UUIDs and use them as a filter in the where statement of a SQL query

  • Best score: 57
  • Best player score: 64
  • Position: #11 / 29
  • Number of attempts: 1
Markdown Blog Editing - 262 entries

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

  • Best score: 30
  • Best player score: 47
  • Position: #35 / 63
  • Number of attempts: 1
Search different SQL column with similar where clause - 168 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: 27
  • Position: #33 / 45
  • Number of attempts: 4
Rearrange array to single level - 1301 entries

The goal is to flatten the array into a single list and remove any empty elements.

  • Best score: 14
  • Best player score: 25
  • Position: #105 / 207
  • Number of attempts: 4
Rearrange array to one line - 604 entries

Rearrange the array content on only one line, and remove trailing commas

  • Best score: 13
  • Best player score: 20
  • Position: #74 / 145
  • Number of attempts: 3
Copy punctuation - 488 entries

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

  • Best score: 19
  • Best player score: 34
  • Position: #59 / 122
  • Number of attempts: 1
New teacher - 925 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 24
  • Position: #76 / 196
  • Number of attempts: 4
Replace word while reserving first letter case - 604 entries

Window -> Door window -> door Windows -> Windows windows -> windows

  • Best score: 24
  • Best player score: 24
  • Position: #25 / 118
  • Number of attempts: 3
months to html list items - 1010 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 27
  • Position: #166 / 274
  • Number of attempts: 1
Populate 3D bone names list - 629 entries

Ran into this at work, excited to see how this gets optimized

  • Best score: 21
  • Best player score: 32
  • Position: #112 / 162
  • Number of attempts: 2
Anton Strand
Github:

entered into 15 challenges

contributed 0 challenges