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

New teacher - 836 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 20
  • Position: #24 / 174
  • Number of attempts: 14
months to html list items - 957 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 24
  • Position: #86 / 254
  • Number of attempts: 9
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: 7
  • Position: #155 / 411
  • Number of attempts: 12
Populate 3D bone names list - 589 entries

Ran into this at work, excited to see how this gets optimized

  • Best score: 21
  • Best player score: 21
  • Position: #34 / 150
  • Number of attempts: 4
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: 17
  • Position: #117 / 189
  • Number of attempts: 2
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: 15
  • Position: #229 / 390
  • Number of attempts: 2
Paste a column after a column - 2504 entries

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

  • Best score: 14
  • Best player score: 16
  • Position: #186 / 547
  • Number of attempts: 7
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: 50
  • Position: #6 / 178
  • Number of attempts: 1
Substraction (bis) - 584 entries

Solve the equations (adapted from the original @Caek_'s challenge).

  • Best score: 21
  • Best player score: 155
  • Position: #102 / 111
  • Number of attempts: 1
Many duplicates - 1443 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #293 / 467
  • Number of attempts: 3
delete swap - 1768 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #346 / 548
  • Number of attempts: 9
Fix the shell script! - 2544 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 41
  • Position: #410 / 589
  • Number of attempts: 4
Learn to ask for :help - 587 entries

Learn to use the help to reduce your strokes...

  • Best score: 19
  • Best player score: 30
  • Position: #64 / 130
  • Number of attempts: 7
Rural Post - 4460 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 10
  • Position: #476 / 1092
  • Number of attempts: 5
nerfed
Github:

entered into 14 challenges

contributed 0 challenges