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 - 1163 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #177 / 401
  • Number of attempts: 1
Wikitext headings to markdown - 709 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 23
  • Position: #69 / 157
  • Number of attempts: 2
hello-world-vimgolf - 1758 entries

Simple number generation

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

ASCII created by TOIlet command

  • Best score: 48
  • Best player score: 73
  • Position: #6 / 11
  • Number of attempts: 2
Fill in the chess board - 665 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: #89 / 140
  • Number of attempts: 1
Turn the x - 263 entries

Turn the x to a +

  • Best score: 19
  • Best player score: 23
  • Position: #48 / 68
  • Number of attempts: 7
Format the CSS - 102 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: #18 / 39
  • Number of attempts: 6
Add quotes to ansible playbook - 822 entries

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

  • Best score: 8
  • Best player score: 10
  • Position: #207 / 258
  • Number of attempts: 3
Multiline to Single Line - 552 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #164 / 248
  • Number of attempts: 1
Capitalize the Names - 328 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: #53 / 83
  • 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 - 69 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: #14 / 21
  • Number of attempts: 3
Roman numerals - 67 entries

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

  • Best score: 17
  • Best player score: 29
  • Position: #24 / 26
  • Number of attempts: 4
SFD-ROC: ROT13 Phonics - 81 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: #63 / 66
  • Number of attempts: 2
Michael Herring
Twitter:

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

entered into 14 challenges

contributed 0 challenges