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

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 23
  • Position: #27 / 97
  • Number of attempts: 7
months to html list items - 695 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 39
  • Position: #177 / 194
  • Number of attempts: 2
Quicksort - 1631 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 / 363
  • Number of attempts: 10
Find fix point of cos - 1160 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: #127 / 351
  • Number of attempts: 5
Many duplicates - 1284 entries

Quick and easy

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

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

  • Best score: 10
  • Best player score: 11
  • Position: #176 / 534
  • Number of attempts: 7
hello-world-vimgolf - 2394 entries

Simple number generation

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

Vim likes macros

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

entered into 8 challenges

contributed 0 challenges