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

Evil Numbers - 52 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: #9 / 18
  • Number of attempts: 1
Mirror image - 43 entries

Add the second eye

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

There is one special character per line

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

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

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

Translate Morse code to Text

  • Best score: 31
  • Best player score: 90
  • Position: #15 / 23
  • Number of attempts: 1
Find fix point of cos - 1199 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: #113 / 363
  • Number of attempts: 2
Paste a column after a column - 2407 entries

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

  • Best score: 14
  • Best player score: 16
  • Position: #121 / 521
  • Number of attempts: 6
Tabbed Table to Python Array - 652 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: #50 / 171
  • Number of attempts: 9
Fizzbuzz - 536 entries

type the first 100 lines of the fizzbuzz problem

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

entered into 9 challenges

contributed 0 challenges