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

Change class fields from camel case to snake case - 274 entries

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

  • Best score: 18
  • Best player score: 18
  • Position: #7 / 69
  • Number of attempts: 7
Change class fields from snake case to camel case - 150 entries

Change the class fields in this Scala class from snake case to camel case

  • Best score: 13
  • Best player score: 13
  • Position: #11 / 56
  • Number of attempts: 3
Reorganize Pokémon - 301 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 19
  • Position: #24 / 80
  • Number of attempts: 4
Replace csv column if it's not empty - 93 entries

Replace the credit_score_percentile column with the value 0.0 but leave the empty ones untouched

  • Best score: 15
  • Best player score: 15
  • Position: #7 / 38
  • Number of attempts: 3
Change readonly files - 33 entries

Try to write a file that was marked as read-only.

  • Best score: 20
  • Best player score: 21
  • Position: #4 / 12
  • Number of attempts: 4
extract struct tag in go - 42 entries

Can you extract all struct tags in the fewest keystrokes possible?

  • Best score: 29
  • Best player score: 33
  • Position: #4 / 17
  • Number of attempts: 5
CaN yOuR ViM dO ThAt? #2 - 34 entries

Tsoding's famous "Can your Vim do that?" https://www.youtube.com/watch?v=F4xc4jQO7ck&t=1429s

  • Best score: 49
  • Best player score: 49
  • Position: #2 / 9
  • Number of attempts: 9
CaN yOuR ViM dO ThAt? #1 - 77 entries

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

  • Best score: 41
  • Best player score: 41
  • Position: #7 / 32
  • Number of attempts: 6
Move list of uuids into a SQL query - 68 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: 61
  • Position: #4 / 28
  • Number of attempts: 4
Markdown Blog Editing - 253 entries

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

  • Best score: 30
  • Best player score: 30
  • Position: #6 / 62
  • Number of attempts: 14
Word completion - 179 entries

Try to complete these options within 20 keystrokes.

  • Best score: 20
  • Best player score: 20
  • Position: #8 / 50
  • Number of attempts: 12
Fix timezone format - 225 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: 15
  • Position: #14 / 75
  • Number of attempts: 7
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: 22
  • Position: #9 / 45
  • Number of attempts: 9
Remove adjacent duplicates - 445 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 19
  • Position: #7 / 117
  • Number of attempts: 13
Move to corresponding lines - 241 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 18
  • Position: #12 / 53
  • Number of attempts: 12
Rearrange array to single level - 1298 entries

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

  • Best score: 14
  • Best player score: 14
  • Position: #8 / 205
  • Number of attempts: 21
Rearrange array to one line - 602 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #30 / 144
  • Number of attempts: 7
Copy punctuation - 487 entries

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

  • Best score: 19
  • Best player score: 19
  • Position: #14 / 121
  • Number of attempts: 9
Column wise pasting - 172 entries

Make a table from 3 columns

  • Best score: 17
  • Best player score: 17
  • Position: #8 / 37
  • Number of attempts: 10
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: 41
  • Position: #381 / 431
  • Number of attempts: 3
EDN reformat - 1158 entries

The goal is to make the code more readable and concise while maintaining its functionality.

  • Best score: 17
  • Best player score: 18
  • Position: #50 / 164
  • Number of attempts: 26
Pick and sort servers from mirror list - 431 entries

Retrieve the primary server for each country from a mirror list file and organize them alphabetically by country name. Given a mirror list file containing server information for various countries, the objective is to extract the primary server from each country and then arrange these servers in alphabetical order based on the respective country names.

  • Best score: 28
  • Best player score: 105
  • Position: #85 / 87
  • Number of attempts: 1
rasputins
Github:

entered into 22 challenges

contributed 0 challenges