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

Copy punctuation - 536 entries

I want to copy the last line’s brackets, quotes, and commas to each line. How?

  • Best score: 19
  • Best player score: 42
  • Position: #84 / 137
  • Number of attempts: 4
months to html list items - 1064 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 24
  • Position: #97 / 289
  • Number of attempts: 5
Populate 3D bone names list - 633 entries

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

  • Best score: 21
  • Best player score: 21
  • Position: #37 / 163
  • Number of attempts: 2
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: 15
  • Position: #236 / 418
  • Number of attempts: 1
Surround the 'z' character with brackets, quotes, and print as formatted string. - 561 entries

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

  • Best score: 17
  • Best player score: 17
  • Position: #217 / 314
  • Number of attempts: 5
delete swap - 1788 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #372 / 557
  • Number of attempts: 2
Wrap the text of an email message to 79 characters - 800 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 5
  • Position: #310 / 422
  • Number of attempts: 1
Python Hello World! Reformatting - 1006 entries

A novice Python using prints Hello World! and a pro shows him different way. Using vim to get into pro style from novice, win the challenge.

  • Best score: 39
  • Best player score: 52
  • Position: #360 / 383
  • Number of attempts: 1
camel riding - 793 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 18
  • Position: #242 / 281
  • Number of attempts: 1
vim1001 - 307 entries

change number 1001 into a "vim1001 sequence". (My first challenge, hope it is not too bad... )

  • Best score: 17
  • Best player score: 24
  • Position: #77 / 110
  • Number of attempts: 1
-a-b-c- - 3216 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 17
  • Position: #1041 / 1138
  • Number of attempts: 1
Knaughty
Github:

entered into 11 challenges

contributed 0 challenges