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

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

  • Best score: 10
  • Best player score: 13
  • Position: #64 / 128
  • Number of attempts: 1
Wikitext headings to markdown - 315 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 23
  • Position: #38 / 81
  • Number of attempts: 2
hello-world-vimgolf - 856 entries

Simple number generation

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

ASCII created by TOIlet command

  • Best score: 48
  • Best player score: 73
  • Position: #4 / 8
  • Number of attempts: 2
Fill in the chess board - 346 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: #55 / 86
  • Number of attempts: 1
Turn the x - 205 entries

Turn the x to a +

  • Best score: 19
  • Best player score: 23
  • Position: #41 / 54
  • Number of attempts: 7
Format the CSS - 66 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: #14 / 27
  • Number of attempts: 6
Add quotes to ansible playbook - 657 entries

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

  • Best score: 8
  • Best player score: 10
  • Position: #170 / 211
  • Number of attempts: 3
Multiline to Single Line - 410 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #164 / 196
  • Number of attempts: 1
Capitalize the Names - 297 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: #48 / 76
  • 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 - 52 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: #12 / 19
  • Number of attempts: 3
Roman numerals - 62 entries

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

  • Best score: 17
  • Best player score: 29
  • Position: #23 / 25
  • Number of attempts: 4
SFD-ROC: ROT13 Phonics - 77 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: #60 / 63
  • Number of attempts: 2
Michael Herring
Twitter:

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

entered into 14 challenges

contributed 0 challenges