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

Populate 3D bone names list - 623 entries

Ran into this at work, excited to see how this gets optimized

  • Best score: 21
  • Best player score: 26
  • Position: #59 / 161
  • Number of attempts: 4
Find fix point of cos - 1392 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: #137 / 409
  • Number of attempts: 4
Surround the 'z' character with brackets, quotes, and print as formatted string. - 551 entries

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

  • Best score: 17
  • Best player score: 17
  • Position: #107 / 307
  • Number of attempts: 3
Paste a column after a column - 2526 entries

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

  • Best score: 14
  • Best player score: 14
  • Position: #59 / 551
  • Number of attempts: 9
HS exam question - 1578 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 110
  • Position: #358 / 416
  • Number of attempts: 1
Many duplicates - 1445 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #247 / 468
  • Number of attempts: 7
delete swap - 1776 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #261 / 550
  • Number of attempts: 2

Contributed Challenges

Populate 3D bone names list - 623 entries

Ran into this at work, excited to see how this gets optimized

Gabriel Reed
Twitter2:

vim enthusiast

entered into 7 challenges

contributed 1 challenges