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

Remove line numbers - 82 entries

From http://web.archive.org/web/20140831121704/http://dirac.org/linux/gdb/02a-Memory_Layout_And_The_Stack.php#investigatingthestackwithgdb.

  • Best score: 12
  • Best player score: 37
  • Position: #26 / 30
  • Number of attempts: 2
Find fix point of cos - 648 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: #99 / 181
  • Number of attempts: 2
Surround the 'z' character with brackets, quotes, and print as formatted string. - 335 entries

Surround the 'z' character with brackets, quotes, and print as formatted string.

  • Best score: 17
  • Best player score: 17
  • Position: #120 / 176
  • Number of attempts: 1
Paste a column after a column - 1676 entries

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

  • Best score: 14
  • Best player score: 18
  • Position: #170 / 366
  • Number of attempts: 3
Many duplicates - 1048 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #234 / 341
  • Number of attempts: 3
Count to 100 in word form - 58 entries

Write all the numbers from 1 to 100, using their word forms rather than the digit form. Most of the parts you will need are included in the input file. Use hyphens when appropriate.

  • Best score: 55
  • Best player score: 72
  • Position: #7 / 19
  • Number of attempts: 3
Andrew Pritchard
Twitter2:

entered into 6 challenges

contributed 0 challenges