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

Change class fields from camel case to snake case - 274 entries

This is the reverse of the previous challenge: https://www.vimgolf.com/challenges/9v006705493c000000000513

  • Best score: 18
  • Best player score: 50
  • Position: #59 / 69
  • Number of attempts: 3
Change class fields from snake case to camel case - 150 entries

Change the class fields in this Scala class from snake case to camel case

  • Best score: 13
  • Best player score: 20
  • Position: #48 / 56
  • Number of attempts: 1
Word completion - 179 entries

Try to complete these options within 20 keystrokes.

  • Best score: 20
  • Best player score: 96
  • Position: #32 / 50
  • Number of attempts: 4
Fix timezone format - 225 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: 19
  • Position: #51 / 75
  • Number of attempts: 1
Search different SQL column with similar where clause - 168 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: 26
  • Position: #29 / 45
  • Number of attempts: 7
Remove adjacent duplicates - 445 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 35
  • Position: #77 / 117
  • Number of attempts: 3
Rearrange array to single level - 1298 entries

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

  • Best score: 14
  • Best player score: 26
  • Position: #114 / 205
  • Number of attempts: 4
New teacher - 923 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 27
  • Position: #124 / 194
  • Number of attempts: 3
Quicksort - 1962 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: 24
  • Position: #257 / 431
  • Number of attempts: 4
Find fix point of cos - 1402 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: #245 / 415
  • Number of attempts: 5
Surround the 'z' character with brackets, quotes, and print as formatted string. - 554 entries

Surround the 'z' character with brackets, quotes, and print as formatted string.

  • Best score: 17
  • Best player score: 17
  • Position: #223 / 309
  • Number of attempts: 1
IroncladDev 🔩
Twitter2:

Texan • Fullstack Dev • Mid takes & unhinged tech memes (you wouldn't get it) • Neovim on a Mac, btw

entered into 11 challenges

contributed 0 challenges