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 csv column if it's not empty - 36 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: #7 / 15
  • Number of attempts: 1
CaN yOuR ViM dO ThAt? #1 - 27 entries

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

  • Best score: 41
  • Best player score: 45
  • Position: #6 / 11
  • Number of attempts: 3
Fix timezone format - 186 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: #42 / 61
  • Number of attempts: 1
Search different SQL column with similar where clause - 116 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: #27 / 36
  • Number of attempts: 1
Remove adjacent duplicates - 367 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 21
  • Position: #17 / 103
  • Number of attempts: 2
Move to corresponding lines - 182 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 22
  • Position: #16 / 45
  • Number of attempts: 2
Rearrange array to single level - 1094 entries

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

  • Best score: 14
  • Best player score: 20
  • Position: #52 / 186
  • Number of attempts: 3
Rearrange array to one line - 521 entries

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

  • Best score: 13
  • Best player score: 15
  • Position: #32 / 129
  • Number of attempts: 1
tobi256
Github:

entered into 8 challenges

contributed 0 challenges