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

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

  • Best score: 10
  • Best player score: 13
  • Position: #260 / 544
  • Number of attempts: 1
Wikitext headings to markdown - 984 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 23
  • Position: #95 / 206
  • Number of attempts: 2
hello-world-vimgolf - 2427 entries

Simple number generation

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

ASCII created by TOIlet command

  • Best score: 47
  • Best player score: 73
  • Position: #9 / 17
  • Number of attempts: 2
Fill in the chess board - 932 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: #112 / 179
  • Number of attempts: 1
Turn the x - 316 entries

Turn the x to a +

  • Best score: 19
  • Best player score: 23
  • Position: #56 / 79
  • Number of attempts: 7
Format the CSS - 136 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: #23 / 45
  • Number of attempts: 6
Add quotes to ansible playbook - 940 entries

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

  • Best score: 8
  • Best player score: 10
  • Position: #236 / 300
  • Number of attempts: 3
Multiline to Single Line - 679 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #164 / 297
  • Number of attempts: 1
Capitalize the Names - 382 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: #61 / 95
  • 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 - 82 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: #16 / 24
  • Number of attempts: 3
Roman numerals - 69 entries

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

  • Best score: 17
  • Best player score: 29
  • Position: #26 / 28
  • Number of attempts: 4
SFD-ROC: ROT13 Phonics - 99 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: #68 / 72
  • Number of attempts: 2
Michael Herring
Twitter:

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

entered into 14 challenges

contributed 0 challenges