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

Reordering properties - 831 entries

Arrange the CSS lines for the #topbar selector based on their complete line length, from shortest to longest.

  • Best score: 24
  • Best player score: 80
  • Position: #104 / 198
  • Number of attempts: 2
YAML to dotenv - 998 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 35
  • Position: #166 / 215
  • Number of attempts: 6
Change class fields from camel case to snake case - 457 entries

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

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

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

  • Best score: 13
  • Best player score: 20
  • Position: #81 / 94
  • Number of attempts: 1
Word completion - 234 entries

Try to complete these options within 20 keystrokes.

  • Best score: 20
  • Best player score: 96
  • Position: #41 / 64
  • Number of attempts: 4
Fix timezone format - 298 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: #60 / 96
  • Number of attempts: 1
Search different SQL column with similar where clause - 265 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: #35 / 60
  • Number of attempts: 7
Remove adjacent duplicates - 578 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 35
  • Position: #97 / 150
  • Number of attempts: 3
Rearrange array to single level - 1528 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: #135 / 254
  • Number of attempts: 4
New teacher - 1376 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 27
  • Position: #170 / 287
  • Number of attempts: 3
Quicksort - 2038 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: #266 / 452
  • Number of attempts: 4
Find fix point of cos - 1432 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: #247 / 424
  • Number of attempts: 5
Surround the 'z' character with brackets, quotes, and print as formatted string. - 570 entries

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

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

Texas-based SWE who aims to build and share great software with the world • Mid takes • Opinionated tech memes • Neovim's strongest soldier • At @reactmiamiconf

entered into 13 challenges

contributed 0 challenges