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

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 85
  • Position: #98 / 170
  • Number of attempts: 3
Reorganize Pokémon - 696 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 21
  • Position: #95 / 191
  • Number of attempts: 7
CaN yOuR ViM dO ThAt? #1 - 239 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: #79 / 91
  • Number of attempts: 2
Search different SQL column with similar where clause - 314 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: #51 / 69
  • Number of attempts: 6
Rearrange array to single level - 1649 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: #240 / 272
  • Number of attempts: 1
Rearrange array to one line - 758 entries

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

  • Best score: 13
  • Best player score: 50
  • Position: #163 / 182
  • Number of attempts: 2
Deleting text - 325 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 47
  • Position: #75 / 101
  • Number of attempts: 2
New teacher - 1423 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 29
  • Position: #202 / 300
  • Number of attempts: 2
months to html list items - 1110 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 25
  • Position: #112 / 301
  • Number of attempts: 2
Populate 3D bone names list - 638 entries

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

  • Best score: 21
  • Best player score: 30
  • Position: #96 / 166
  • Number of attempts: 3
Remove line numbers - 752 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 / 201
  • Number of attempts: 4
Find fix point of cos - 1444 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 / 427
  • Number of attempts: 1
Brian Curless
Github:

entered into 12 challenges

contributed 0 challenges