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: 54
  • Position: #18 / 43
  • Number of attempts: 2
Fix the Scala Method - 106 entries

Fix the missing semicolons and the Int type, ensure the floating point division, and remove the unnecessary return.

  • Best score: 9
  • Best player score: 23
  • Position: #22 / 39
  • Number of attempts: 5
Reorganize Pokémon - 307 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 21
  • Position: #51 / 82
  • Number of attempts: 4
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: #21 / 35
  • Number of attempts: 1
Append leading hyphen count to each line - 47 entries

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

  • Best score: 23
  • Best player score: 25
  • Position: #9 / 14
  • Number of attempts: 7
Fix timezone format - 228 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: #55 / 76
  • Number of attempts: 2
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: 25
  • Position: #27 / 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: #106 / 207
  • Number of attempts: 5
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: 33
  • Position: #52 / 122
  • Number of attempts: 4
Find anomalies - 148 entries

There is one special character per line

  • Best score: 30
  • Best player score: 98
  • Position: #37 / 39
  • Number of attempts: 1
months to html list items - 1010 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 25
  • Position: #127 / 274
  • Number of attempts: 2
Quicksort - 1962 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: #262 / 431
  • Number of attempts: 2
Surround the 'z' character with brackets, quotes, and print as formatted string. - 555 entries

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

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

entered into 13 challenges

contributed 0 challenges