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

Changing date formats - 413 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 85
  • Position: #75 / 130
  • Number of attempts: 3
Reorganize Pokémon - 583 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 21
  • Position: #87 / 159
  • Number of attempts: 7
CaN yOuR ViM dO ThAt? #1 - 176 entries

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

  • Best score: 41
  • Best player score: 50
  • Position: #64 / 70
  • Number of attempts: 2
Search different SQL column with similar where clause - 258 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: 28
  • Position: #45 / 59
  • Number of attempts: 6
Rearrange array to single level - 1499 entries

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

  • Best score: 14
  • Best player score: 53
  • Position: #221 / 248
  • Number of attempts: 1
Rearrange array to one line - 707 entries

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

  • Best score: 13
  • Best player score: 50
  • Position: #154 / 170
  • Number of attempts: 2
Deleting text - 278 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 47
  • Position: #67 / 92
  • Number of attempts: 2
New teacher - 1363 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 29
  • Position: #191 / 284
  • Number of attempts: 2
months to html list items - 1088 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 25
  • Position: #110 / 295
  • Number of attempts: 2
Populate 3D bone names list - 636 entries

Ran into this at work, excited to see how this gets optimized

  • Best score: 21
  • Best player score: 30
  • Position: #94 / 164
  • Number of attempts: 3
Remove line numbers - 745 entries

From http://web.archive.org/web/20140831121704/http://dirac.org/linux/gdb/02a-Memory_Layout_And_The_Stack.php#investigatingthestackwithgdb.

  • Best score: 9
  • Best player score: 12
  • Position: #52 / 199
  • Number of attempts: 4
Find fix point of cos - 1426 entries

Write a function to find the fix point of cos. It is not a good code; It is just to use vim. Inspired by the excellent https://mvanier.livejournal.com/2897.html about the Y combinator.

  • Best score: 14
  • Best player score: 15
  • Position: #211 / 422
  • Number of attempts: 1
Brian Curless
Github:

entered into 12 challenges

contributed 0 challenges