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

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 23
  • Position: #73 / 266
  • Number of attempts: 7
months to html list items - 1073 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 39
  • Position: #268 / 292
  • Number of attempts: 2
Quicksort - 2029 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 / 447
  • Number of attempts: 10
Find fix point of cos - 1420 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: #142 / 421
  • Number of attempts: 5
Many duplicates - 1454 entries

Quick and easy

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

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

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

Simple number generation

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

Vim likes macros

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

entered into 8 challenges

contributed 0 challenges