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

CaN yOuR ViM dO ThAt? #1 - 27 entries

Tsoding's famous "Can your Vim do that?" https://youtu.be/Bafo3hhheHU?si=DfcT4sUEMTSAevnx&t=1091

  • Best score: 41
  • Best player score: 41
  • Position: #2 / 11
  • Number of attempts: 4
Move list of uuids into a SQL query - 39 entries

Take the list of UUIDs and use them as a filter in the where statement of a SQL query

  • Best score: 57
  • Best player score: 63
  • Position: #6 / 18
  • Number of attempts: 6
Markdown Blog Editing - 197 entries

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

  • Best score: 30
  • Best player score: 44
  • Position: #25 / 52
  • Number of attempts: 3
Word completion - 116 entries

Try to complete these options within 20 keystrokes.

  • Best score: 20
  • Best player score: 21
  • Position: #9 / 37
  • Number of attempts: 7
Fix timezone format - 186 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: 16
  • Position: #19 / 61
  • Number of attempts: 5
Remove adjacent duplicates - 367 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 20
  • Position: #15 / 103
  • Number of attempts: 5
Remove line numbers - 694 entries

From http://web.archive.org/web/20140831121704/http://dirac.org/linux/gdb/02a-Memory_Layout_And_The_Stack.php#investigatingthestackwithgdb.

  • Best score: 9
  • Best player score: 9
  • Position: #1 / 189
  • Number of attempts: 1
Find fix point of cos - 1359 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 / 394
  • Number of attempts: 5
Surround the 'z' character with brackets, quotes, and print as formatted string. - 538 entries

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

  • Best score: 17
  • Best player score: 17
  • Position: #225 / 300
  • Number of attempts: 1
Easier Align - 393 entries

Align the columns of a markdown table

  • Best score: 51
  • Best player score: 109
  • Position: #30 / 95
  • Number of attempts: 11
Paste a column after a column - 2508 entries

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

  • Best score: 14
  • Best player score: 14
  • Position: #107 / 547
  • Number of attempts: 5
Tabbed Table to Python Array - 721 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: 54
  • Position: #46 / 178
  • Number of attempts: 4
HS exam question - 1577 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 55
  • Position: #77 / 415
  • Number of attempts: 8
Gustav Kristensen
Github:

entered into 13 challenges

contributed 0 challenges