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

Copy punctuation - 416 entries

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

  • Best score: 19
  • Best player score: 34
  • Position: #47 / 105
  • Number of attempts: 5
Column wise pasting - 128 entries

Make a table from 3 columns

  • Best score: 17
  • Best player score: 42
  • Position: #27 / 31
  • Number of attempts: 3
Deleting text - 215 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 47
  • Position: #47 / 72
  • Number of attempts: 1
months to html list items - 951 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 22
  • Position: #38 / 253
  • Number of attempts: 9
Quicksort - 1869 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: #241 / 410
  • Number of attempts: 3
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: 12
  • Position: #70 / 189
  • Number of attempts: 8
Find fix point of cos - 1339 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: 14
  • Position: #67 / 390
  • Number of attempts: 7
Paste a column after a column - 2501 entries

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

  • Best score: 14
  • Best player score: 14
  • Position: #102 / 546
  • Number of attempts: 8
Tabbed Table to Python Array - 719 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: 66
  • Position: #130 / 177
  • Number of attempts: 3
Many duplicates - 1443 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #298 / 467
  • Number of attempts: 4
Coenraad
Github:

entered into 10 challenges

contributed 0 challenges