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

Markdown Blog Editing - 197 entries

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

  • Best score: 30
  • Best player score: 85
  • Position: #45 / 52
  • Number of attempts: 1
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: 17
  • Position: #35 / 60
  • Number of attempts: 3
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: 24
  • Position: #80 / 184
  • Number of attempts: 3
Deleting text - 217 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 47
  • Position: #45 / 73
  • Number of attempts: 1
New teacher - 836 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 31
  • Position: #137 / 174
  • Number of attempts: 1
Truth Table to ModelSim - 58 entries

Convert this truth table to simulator instructions!

  • Best score: 64
  • Best player score: 164
  • Position: #15 / 17
  • Number of attempts: 1
months to html list items - 957 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 24
  • Position: #66 / 254
  • Number of attempts: 6
Quicksort - 1875 entries

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

  • Best score: 6
  • Best player score: 30
  • Position: #315 / 411
  • Number of attempts: 2
Populate 3D bone names list - 589 entries

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

  • Best score: 21
  • Best player score: 63
  • Position: #147 / 150
  • Number of attempts: 1
Find fix point of cos - 1339 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: #220 / 390
  • Number of attempts: 4
delete swap - 1768 entries

delete all swap

  • Best score: 5
  • Best player score: 12
  • Position: #481 / 548
  • Number of attempts: 5
Fix the shell script! - 2544 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 45
  • Position: #451 / 589
  • Number of attempts: 1
Java to JavaScript - 267 entries

Let convert some simple Java file to JavaScript!

  • Best score: 59
  • Best player score: 108
  • Position: #61 / 72
  • Number of attempts: 3
HS Final exam vimgolf - 897 entries

Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.

  • Best score: 21
  • Best player score: 44
  • Position: #211 / 236
  • Number of attempts: 1
Fix the XML - 1039 entries

The challenge consists in having a valid xml from an incomplete source.

  • Best score: 18
  • Best player score: 26
  • Position: #202 / 290
  • Number of attempts: 4
Reformat/Refactor a Golfer Class - 6866 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 28
  • Best player score: 40
  • Position: #838 / 1681
  • Number of attempts: 9
Jelani Felix
Github:

entered into 16 challenges

contributed 0 challenges