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

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 25
  • Position: #127 / 299
  • Number of attempts: 7
Find fix point of cos - 1444 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: #367 / 427
  • Number of attempts: 3
Paste a column after a column - 2632 entries

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

  • Best score: 14
  • Best player score: 25
  • Position: #410 / 570
  • Number of attempts: 2
Put a newline after every 10 lines in vim - 1668 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #409 / 561
  • Number of attempts: 1
Vice versa - 7974 entries

Little role switching.

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

entered into 5 challenges

contributed 0 challenges