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

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

  • Best score: 30
  • Best player score: 31
  • Position: #9 / 59
  • Number of attempts: 12
Word completion - 155 entries

Try to complete these options within 20 keystrokes.

  • Best score: 20
  • Best player score: 20
  • Position: #3 / 43
  • Number of attempts: 4
Fix timezone format - 208 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: 15
  • Position: #5 / 68
  • Number of attempts: 3
Search different SQL column with similar where clause - 141 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: #25 / 39
  • Number of attempts: 3
Remove adjacent duplicates - 421 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 21
  • Position: #34 / 110
  • Number of attempts: 6
Evil Numbers - 72 entries

Print the first 100 evil numbers https://oeis.org/A001969. This is an advert for code.golf https://code.golf/evil-numbers#viml

  • Best score: 25
  • Best player score: 62
  • Position: #11 / 21
  • Number of attempts: 1
Mirror image - 69 entries

Add the second eye

  • Best score: 15
  • Best player score: 15
  • Position: #4 / 25
  • Number of attempts: 4
Find anomalies - 125 entries

There is one special character per line

  • Best score: 30
  • Best player score: 37
  • Position: #15 / 34
  • Number of attempts: 4
Coordinate extraction - 51 entries

Get the coordinates of all "M"s from the Vim logo

  • Best score: 43
  • Best player score: 50
  • Position: #9 / 15
  • Number of attempts: 4
Morse - 132 entries

Translate Morse code to Text

  • Best score: 31
  • Best player score: 90
  • Position: #21 / 31
  • Number of attempts: 1
Find fix point of cos - 1383 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: #119 / 405
  • Number of attempts: 2
Paste a column after a column - 2518 entries

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

  • Best score: 14
  • Best player score: 16
  • Position: #125 / 549
  • Number of attempts: 6
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: #53 / 178
  • Number of attempts: 9
Fizzbuzz - 557 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 45
  • Best player score: 87
  • Position: #108 / 166
  • Number of attempts: 1
Casey O'Donnell
Twitter:

entered into 14 challenges

contributed 0 challenges