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

Word completion - 101 entries

Try to complete these options within 20 keystrokes.

  • Best score: 20
  • Best player score: 96
  • Position: #22 / 35
  • Number of attempts: 4
Fix timezone format - 177 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: #41 / 58
  • Number of attempts: 1
Search different SQL column with similar where clause - 105 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: #23 / 35
  • Number of attempts: 3
Remove adjacent duplicates - 349 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 40
  • Position: #78 / 100
  • Number of attempts: 1
Rearrange array to single level - 1074 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: #94 / 181
  • Number of attempts: 4
New teacher - 836 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 27
  • Position: #113 / 174
  • Number of attempts: 3
Quicksort - 1869 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: #250 / 410
  • Number of attempts: 4
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: #242 / 390
  • Number of attempts: 5
Surround the 'z' character with brackets, quotes, and print as formatted string. - 537 entries

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

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

Texan • Fullstack Dev • Neovim on a Mac, btw • Mid takes & original tech memes (you wouldn't get it) • Merch: https://t.co/5NQ1qR7ijd

entered into 9 challenges

contributed 0 challenges