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

Markdown Blog Editing - 253 entries

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

  • Best score: 30
  • Best player score: 45
  • Position: #33 / 62
  • Number of attempts: 1
Word completion - 184 entries

Try to complete these options within 20 keystrokes.

  • Best score: 20
  • Best player score: 20
  • Position: #5 / 51
  • Number of attempts: 6
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: 16
  • Position: #18 / 75
  • Number of attempts: 3
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: 23
  • Position: #16 / 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: 20
  • Position: #15 / 117
  • Number of attempts: 4
Move to corresponding lines - 241 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 18
  • Position: #11 / 53
  • Number of attempts: 7
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: 20
  • Position: #64 / 205
  • Number of attempts: 9
Rearrange array to one line - 602 entries

Rearrange the array content on only one line, and remove trailing commas

  • Best score: 13
  • Best player score: 20
  • Position: #73 / 144
  • Number of attempts: 3
Copy punctuation - 487 entries

I want to copy the last line’s brackets, quotes, and commas to each line. How?

  • Best score: 19
  • Best player score: 38
  • Position: #67 / 121
  • Number of attempts: 1
Change LaTex itemizations formats - 103 entries

Inspired by the way my professor formats their LaTeX assignments.

  • Best score: 43
  • Best player score: 78
  • Position: #12 / 17
  • Number of attempts: 2
Column wise pasting - 172 entries

Make a table from 3 columns

  • Best score: 17
  • Best player score: 23
  • Position: #12 / 37
  • Number of attempts: 2
Deleting text - 254 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 45
  • Position: #40 / 81
  • Number of attempts: 2
Find anomalies - 148 entries

There is one special character per line

  • Best score: 30
  • Best player score: 50
  • Position: #27 / 39
  • Number of attempts: 2
Morse - 148 entries

Translate Morse code to Text

  • Best score: 31
  • Best player score: 190
  • Position: #30 / 33
  • 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: #258 / 431
  • Number of attempts: 6
Pick and sort servers from mirror list - 431 entries

Retrieve the primary server for each country from a mirror list file and organize them alphabetically by country name. Given a mirror list file containing server information for various countries, the objective is to extract the primary server from each country and then arrange these servers in alphabetical order based on the respective country names.

  • Best score: 28
  • Best player score: 43
  • Position: #58 / 87
  • Number of attempts: 1
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: 18
  • Position: #265 / 309
  • Number of attempts: 1
Tabbed Table to Python Array - 734 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 / 179
  • Number of attempts: 3
HS exam question - 1589 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 74
  • Position: #235 / 417
  • Number of attempts: 3
Reformat symbols in list - 1621 entries

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

  • Best score: 24
  • Best player score: 26
  • Position: #114 / 348
  • Number of attempts: 4
Many duplicates - 1445 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #314 / 468
  • Number of attempts: 2
Janusz Spatz
Github:

entered into 21 challenges

contributed 0 challenges