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

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 85
  • Position: #109 / 197
  • Number of attempts: 3
Reorganize Pokémon - 829 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 21
  • Position: #105 / 226
  • Number of attempts: 7
CaN yOuR ViM dO ThAt? #1 - 270 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: #87 / 107
  • Number of attempts: 2
Search different SQL column with similar where clause - 336 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: #54 / 79
  • Number of attempts: 6
Rearrange array to single level - 1791 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: #265 / 299
  • Number of attempts: 1
Rearrange array to one line - 840 entries

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

  • Best score: 13
  • Best player score: 50
  • Position: #177 / 197
  • Number of attempts: 2
Deleting text - 337 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 47
  • Position: #77 / 108
  • Number of attempts: 2
New teacher - 1480 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 29
  • Position: #208 / 310
  • Number of attempts: 2
months to html list items - 1135 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 25
  • Position: #114 / 307
  • Number of attempts: 2
Populate 3D bone names list - 652 entries

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

  • Best score: 21
  • Best player score: 30
  • Position: #97 / 168
  • Number of attempts: 3
Remove line numbers - 779 entries

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

  • Best score: 8
  • Best player score: 12
  • Position: #53 / 206
  • Number of attempts: 4
Find fix point of cos - 1480 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: #213 / 432
  • Number of attempts: 1
Brian Curless
Github:

entered into 12 challenges

contributed 0 challenges