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

Replace each section and subsection with their respective numbers

  • Best score: 35
  • Best player score: 35
  • Position: #4 / 24
  • Number of attempts: 6
Fix the Scala Method - 66 entries

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

  • Best score: 22
  • Best player score: 22
  • Position: #10 / 24
  • Number of attempts: 4
Change class fields from camel case to snake case - 221 entries

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

  • Best score: 18
  • Best player score: 18
  • Position: #15 / 56
  • Number of attempts: 9
Change class fields from snake case to camel case - 102 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #14 / 45
  • Number of attempts: 3
Reorganize Pokémon - 226 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 18
  • Position: #7 / 62
  • Number of attempts: 6
Replace csv column if it's not empty - 75 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: #8 / 31
  • Number of attempts: 3
Convert plain text into a markdown table - 16 entries

Convert the table to markdown to make it more usable

  • Best score: 59
  • Best player score: 59
  • Position: #2 / 8
  • Number of attempts: 6
Change readonly files - 11 entries

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

  • Best score: 20
  • Best player score: 53
  • Position: #6 / 7
  • Number of attempts: 2
CaN yOuR ViM dO ThAt? #2 - 28 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: #3 / 8
  • Number of attempts: 5
CaN yOuR ViM dO ThAt? #1 - 59 entries

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

  • Best score: 41
  • Best player score: 48
  • Position: #21 / 23
  • Number of attempts: 2
Append leading hyphen count to each line - 38 entries

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

  • Best score: 23
  • Best player score: 23
  • Position: #3 / 12
  • Number of attempts: 8
Move list of uuids into a SQL query - 55 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: 63
  • Position: #9 / 23
  • Number of attempts: 6
Markdown Blog Editing - 245 entries

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

  • Best score: 30
  • Best player score: 30
  • Position: #7 / 60
  • Number of attempts: 14
Word completion - 166 entries

Try to complete these options within 20 keystrokes.

  • Best score: 20
  • Best player score: 22
  • Position: #16 / 46
  • Number of attempts: 9
Fix timezone format - 213 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: #15 / 70
  • Number of attempts: 6
Search different SQL column with similar where clause - 145 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: #10 / 40
  • Number of attempts: 9
Remove adjacent duplicates - 423 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 19
  • Position: #8 / 111
  • Number of attempts: 8
Move to corresponding lines - 219 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 18
  • Position: #14 / 50
  • Number of attempts: 11
Rearrange array to single level - 1224 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: #9 / 198
  • Number of attempts: 13
Rearrange array to one line - 576 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #19 / 140
  • Number of attempts: 11
Copy punctuation - 477 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: #15 / 117
  • Number of attempts: 12
Column wise pasting - 163 entries

Make a table from 3 columns

  • Best score: 17
  • Best player score: 17
  • Position: #7 / 35
  • Number of attempts: 10
Deleting text - 245 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 42
  • Position: #14 / 78
  • Number of attempts: 4
Case matching substitution - 55 entries

Swap every "lorem" for "ipsum", keeping the letter cases the same.

  • Best score: 31
  • Best player score: 31
  • Position: #6 / 15
  • Number of attempts: 10
Define Gray code states - 31 entries

List the states using Gray code and assign Gray code values to each state.

  • Best score: 56
  • Best player score: 110
  • Position: #8 / 11
  • Number of attempts: 1
got_windy
Github:

entered into 25 challenges

contributed 0 challenges