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

Put a newline after every 10 lines in vim - 1554 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #247 / 518
  • Number of attempts: 1
Wikitext headings to markdown - 960 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 23
  • Position: #92 / 198
  • Number of attempts: 2
hello-world-vimgolf - 2307 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #94 / 652
  • Number of attempts: 2
Solve anagram with ASCII letters - 34 entries

ASCII created by TOIlet command

  • Best score: 48
  • Best player score: 73
  • Position: #7 / 15
  • Number of attempts: 2
Fill in the chess board - 886 entries

Fill in the name of each square using its file (a-h) and rank (1-8).

  • Best score: 19
  • Best player score: 40
  • Position: #108 / 173
  • Number of attempts: 1
Turn the x - 297 entries

Turn the x to a +

  • Best score: 19
  • Best player score: 23
  • Position: #54 / 77
  • Number of attempts: 7
Format the CSS - 115 entries

You just copied some CSS color names from the web and need to add them to your python module. Create the COLORS variable and assign a dict() with the names as keys and hex-colors as values. BEWARE OF THE TABS!!

  • Best score: 41
  • Best player score: 45
  • Position: #21 / 43
  • Number of attempts: 6
Add quotes to ansible playbook - 872 entries

You created an ansible playbook, but forgot to add quotes. Can you fix it?

  • Best score: 8
  • Best player score: 10
  • Position: #217 / 274
  • Number of attempts: 3
Multiline to Single Line - 596 entries

Convert a multiline, indented file to a single line with no whitespace

  • Best score: 5
  • Best player score: 5
  • Position: #164 / 268
  • Number of attempts: 1
Capitalize the Names - 361 entries

I want to capitalize the names in quotes, but just the people's names, not the file names.

  • Best score: 21
  • Best player score: 28
  • Position: #58 / 91
  • Number of attempts: 6
Converting group lines from format A to Format B - 20 entries

Convert from one format to another

  • Best score: 56
  • Best player score: 72
  • Position: #4 / 10
  • Number of attempts: 1
Merge blank lines and properly capitalize - 81 entries

Here you need complete 2 tasks: 1. Remove all unwanted continuous blank lines and leave only 1 blank line between paragraphs. 2. Properly capitalize the sentences.

  • Best score: 21
  • Best player score: 35
  • Position: #15 / 23
  • Number of attempts: 3
Roman numerals - 68 entries

Use the substitutions on top to convert unary to Roman numerals.

  • Best score: 17
  • Best player score: 29
  • Position: #25 / 27
  • Number of attempts: 4
SFD-ROC: ROT13 Phonics - 96 entries

A is for apple, b is for ball, etc... This familiar phonics poem has been rotated 13 characters. Make the letter match the word.

  • Best score: 6
  • Best player score: 13
  • Position: #67 / 70
  • Number of attempts: 2
Michael Herring
Twitter:

Swing dancing, tap dancing, LOTR reading, computer programming fiend

entered into 14 challenges

contributed 0 challenges