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

Replace each section and subsection with their respective numbers

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

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

  • Best score: 18
  • Best player score: 24
  • Position: #38 / 58
  • Number of attempts: 2
Reorganize Pokémon - 249 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 21
  • Position: #42 / 68
  • Number of attempts: 4
Replace csv column if it's not empty - 82 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: #23 / 33
  • Number of attempts: 1
CaN yOuR ViM dO ThAt? #1 - 63 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: #18 / 26
  • Number of attempts: 1
Move list of uuids into a SQL query - 64 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 / 25
  • Number of attempts: 1
Markdown Blog Editing - 246 entries

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

  • Best score: 30
  • Best player score: 47
  • Position: #33 / 61
  • Number of attempts: 1
Search different SQL column with similar where clause - 160 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: #32 / 43
  • Number of attempts: 4
Rearrange array to single level - 1264 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: #102 / 201
  • Number of attempts: 4
Rearrange array to one line - 588 entries

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

  • Best score: 13
  • Best player score: 20
  • Position: #73 / 142
  • Number of attempts: 3
Copy punctuation - 483 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 / 119
  • Number of attempts: 1
New teacher - 876 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 24
  • Position: #74 / 188
  • Number of attempts: 4
Replace word while reserving first letter case - 576 entries

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

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

Turn the months into list items.

  • Best score: 22
  • Best player score: 27
  • Position: #161 / 265
  • Number of attempts: 1
Populate 3D bone names list - 623 entries

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

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

entered into 15 challenges

contributed 0 challenges