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 - 27 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: #1 / 12
  • Number of attempts: 3
Convert plain text into a markdown table - 4 entries

Convert the table to markdown to make it more usable

  • Best score: 60
  • Best player score: 103
  • Position: #3 / 4
  • Number of attempts: 1
Move list of uuids into a SQL query - 39 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: #5 / 18
  • Number of attempts: 1
Markdown Blog Editing - 197 entries

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

  • Best score: 30
  • Best player score: 38
  • Position: #17 / 52
  • Number of attempts: 8
Word completion - 116 entries

Try to complete these options within 20 keystrokes.

  • Best score: 20
  • Best player score: 52
  • Position: #21 / 37
  • Number of attempts: 3
Fix timezone format - 183 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: #12 / 60
  • Number of attempts: 6
Search different SQL column with similar where clause - 105 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: #5 / 35
  • Number of attempts: 8
Remove adjacent duplicates - 362 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 35
  • Position: #65 / 101
  • Number of attempts: 3
Move to corresponding lines - 182 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 20
  • Position: #15 / 45
  • Number of attempts: 11
Rearrange array to single level - 1092 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: #6 / 184
  • Number of attempts: 16
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: 14
  • Position: #25 / 129
  • Number of attempts: 8
Changing around text with citations - 327 entries

Based off of something I saw on reddit

  • Best score: 28
  • Best player score: 128
  • Position: #89 / 92
  • Number of attempts: 2
MatFriend
Github:

entered into 12 challenges

contributed 0 challenges