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

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 25
  • Position: #111 / 251
  • Number of attempts: 7
Find fix point of cos - 1408 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: 33
  • Position: #358 / 418
  • Number of attempts: 3
Paste a column after a column - 2557 entries

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

  • Best score: 14
  • Best player score: 25
  • Position: #399 / 558
  • Number of attempts: 2
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: 13
  • Position: #406 / 558
  • Number of attempts: 1
Vice versa - 7953 entries

Little role switching.

  • Best score: 12
  • Best player score: 17
  • Position: #1710 / 2140
  • Number of attempts: 3
Justin
Twitter2:

entered into 5 challenges

contributed 0 challenges