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 - 193 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: #30 / 66
  • Number of attempts: 1
CaN yOuR ViM dO ThAt? #1 - 177 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: #20 / 71
  • Number of attempts: 3
Fix timezone format - 294 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: #59 / 94
  • Number of attempts: 1
Search different SQL column with similar where clause - 265 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: #39 / 60
  • Number of attempts: 1
Remove adjacent duplicates - 570 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 21
  • Position: #30 / 148
  • Number of attempts: 2
Move to corresponding lines - 267 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 22
  • Position: #23 / 62
  • Number of attempts: 2
Rearrange array to single level - 1515 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: #71 / 251
  • Number of attempts: 3
Rearrange array to one line - 717 entries

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

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

entered into 8 challenges

contributed 0 challenges