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

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 23
  • Position: #37 / 135
  • Number of attempts: 7
months to html list items - 826 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 39
  • Position: #203 / 222
  • Number of attempts: 2
Quicksort - 1757 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: 6
  • Position: #110 / 385
  • Number of attempts: 10
Find fix point of cos - 1204 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: #133 / 365
  • Number of attempts: 5
Many duplicates - 1350 entries

Quick and easy

  • Best score: 7
  • Best player score: 7
  • Position: #25 / 440
  • Number of attempts: 7
Put a newline after every 10 lines in vim - 1649 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 11
  • Position: #181 / 551
  • Number of attempts: 7
hello-world-vimgolf - 2472 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #281 / 699
  • Number of attempts: 2
Increment, increment, increment.... - 668 entries

Vim likes macros

  • Best score: 10
  • Best player score: 10
  • Position: #61 / 404
  • Number of attempts: 3
Jamie
Twitter2:

entered into 8 challenges

contributed 0 challenges