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

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: 22
  • Position: #51 / 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: 33
  • Position: #29 / 35
  • Number of attempts: 1
New teacher - 836 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 31
  • Position: #149 / 174
  • Number of attempts: 1
months to html list items - 951 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 38
  • Position: #228 / 253
  • 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: #245 / 390
  • Number of attempts: 3
Paste a column after a column - 2501 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 14
  • Best player score: 18
  • Position: #263 / 546
  • Number of attempts: 2
Tabbed Table to Python Array - 719 entries

Not payed by the hour? So make it fast ;-) The table contains the relative occurencies of bigrams (two consecutive letters) in 1/100,000 in the german language, copy-pasted from http://www.mathe.tu-freiberg.de/~hebisch/cafe/kryptographie/bigramme.html

  • Best score: 50
  • Best player score: 56
  • Position: #63 / 177
  • Number of attempts: 6
HS exam question - 1575 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 76
  • Position: #244 / 415
  • Number of attempts: 2
Reformat symbols in list - 1606 entries

Saw this in some lecture, easy reformatting using multiple cursor in VS Code

  • Best score: 24
  • Best player score: 25
  • Position: #105 / 344
  • Number of attempts: 6
Many duplicates - 1443 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #317 / 467
  • Number of attempts: 2
delete swap - 1768 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #382 / 548
  • Number of attempts: 1
Generate a very basic Python constructor (fixed) - 1251 entries

Original by @BiddulphCaleb (http://www.vimgolf.com/challenges/6019f1c4642668000cee11e8) - had some extra spaces in output file.

  • Best score: 29
  • Best player score: 63
  • Position: #234 / 271
  • Number of attempts: 1
Elliot Schemmel
Github:

entered into 12 challenges

contributed 0 challenges