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 - 197 entries

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

  • Best score: 30
  • Best player score: 45
  • Position: #27 / 52
  • Number of attempts: 1
Word completion - 116 entries

Try to complete these options within 20 keystrokes.

  • Best score: 20
  • Best player score: 20
  • Position: #5 / 37
  • Number of attempts: 6
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: #15 / 61
  • Number of attempts: 3
Search different SQL column with similar where clause - 116 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: #13 / 36
  • Number of attempts: 7
Remove adjacent duplicates - 367 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 20
  • Position: #11 / 103
  • Number of attempts: 4
Move to corresponding lines - 182 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 18
  • Position: #11 / 45
  • Number of attempts: 7
Rearrange array to single level - 1094 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: #54 / 186
  • Number of attempts: 9
Rearrange array to one line - 521 entries

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

  • Best score: 13
  • Best player score: 20
  • Position: #65 / 129
  • Number of attempts: 3
Copy punctuation - 419 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: #58 / 106
  • 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 - 143 entries

Make a table from 3 columns

  • Best score: 17
  • Best player score: 23
  • Position: #10 / 33
  • Number of attempts: 2
Deleting text - 217 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 45
  • Position: #37 / 73
  • Number of attempts: 2
Find anomalies - 125 entries

There is one special character per line

  • Best score: 30
  • Best player score: 50
  • Position: #24 / 34
  • Number of attempts: 2
Morse - 131 entries

Translate Morse code to Text

  • Best score: 31
  • Best player score: 190
  • Position: #27 / 30
  • Number of attempts: 3
Quicksort - 1875 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: #252 / 411
  • Number of attempts: 6
Pick and sort servers from mirror list - 409 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: #55 / 84
  • Number of attempts: 1
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: 18
  • Position: #257 / 300
  • Number of attempts: 1
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: 56
  • Position: #62 / 178
  • Number of attempts: 3
HS exam question - 1577 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 74
  • Position: #233 / 415
  • Number of attempts: 3
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: 26
  • Position: #112 / 344
  • Number of attempts: 4
Many duplicates - 1443 entries

Quick and easy

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

entered into 21 challenges

contributed 0 challenges