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

Replace each section and subsection with their respective numbers

  • Best score: 29
  • Best player score: 54
  • Position: #33 / 85
  • Number of attempts: 2
Fix the Scala Method - 338 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: 23
  • Position: #53 / 112
  • Number of attempts: 5
Reorganize Pokémon - 829 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 21
  • Position: #92 / 226
  • Number of attempts: 4
CaN yOuR ViM dO ThAt? #1 - 270 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: #55 / 107
  • Number of attempts: 1
Append leading hyphen count to each line - 134 entries

Append the number of leading hyphens to the end of each line.

  • Best score: 23
  • Best player score: 25
  • Position: #18 / 37
  • Number of attempts: 7
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: 19
  • Position: #69 / 107
  • Number of attempts: 2
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: 25
  • Position: #39 / 79
  • Number of attempts: 4
Rearrange array to single level - 1791 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: #140 / 299
  • Number of attempts: 5
Copy punctuation - 715 entries

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

  • Best score: 19
  • Best player score: 33
  • Position: #71 / 173
  • Number of attempts: 4
Find anomalies - 163 entries

There is one special character per line

  • Best score: 30
  • Best player score: 98
  • Position: #41 / 44
  • Number of attempts: 1
months to html list items - 1135 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 25
  • Position: #136 / 307
  • Number of attempts: 2
Quicksort - 2096 entries

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

  • Best score: 6
  • Best player score: 24
  • Position: #275 / 466
  • Number of attempts: 2
Surround the 'z' character with brackets, quotes, and print as formatted string. - 577 entries

Surround the 'z' character with brackets, quotes, and print as formatted string.

  • Best score: 17
  • Best player score: 17
  • Position: #231 / 325
  • Number of attempts: 1
Chloe Brett
Github:

entered into 13 challenges

contributed 0 challenges