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

imports alignment (python) - 729 entries

Align as one import per line.

  • Best score: 17
  • Best player score: 19
  • Position: #64 / 205
  • Number of attempts: 8
Insert a Markdown link - 474 entries

Put a link in a markdown document, using the after-the-paragraph format.

  • Best score: 22
  • Best player score: 24
  • Position: #63 / 158
  • Number of attempts: 8
Shebangs for all - 2105 entries

We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.

  • Best score: 11
  • Best player score: 12
  • Position: #126 / 534
  • Number of attempts: 8
A Simple One - 1096 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Position: #260 / 683
  • Number of attempts: 1
Reverse and count - 502 entries

Someone typed things upside down and now a Vim ninja needs to reverse the lines and count how many there are.

  • Best score: 18
  • Best player score: 22
  • Position: #44 / 182
  • Number of attempts: 8
Reverse Simple Deletion - 875 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #230 / 467
  • Number of attempts: 1
Increment, increment, increment.... - 712 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #237 / 420
  • Number of attempts: 1
The Cake is a Lie - 1422 entries

Correct the capitalization of each word

  • Best score: 8
  • Best player score: 9
  • Position: #121 / 546
  • Number of attempts: 4
Compile C - 454 entries

You might have to get clever to do this one.

  • Best score: 19
  • Best player score: 21
  • Position: #62 / 146
  • Number of attempts: 1
Make Fancy Header - 1111 entries

Make the header text stand out with surrounding asterisks

  • Best score: 15
  • Best player score: 16
  • Position: #60 / 357
  • Number of attempts: 5
Simple text editing with Vim - 13682 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Position: #1002 / 3920
  • Number of attempts: 5
Garry Shutler
Twitter:

A code samurai, Generalism specialist, Refrigerator.

entered into 11 challenges

contributed 0 challenges