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

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

  • Best score: 10
  • Best player score: 13
  • Position: #261 / 551
  • Number of attempts: 1
Wikitext headings to markdown - 985 entries

Convert the wikitext headings to markdown.

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

Simple number generation

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

ASCII created by TOIlet command

  • Best score: 46
  • Best player score: 73
  • Position: #9 / 17
  • Number of attempts: 2
Fill in the chess board - 933 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 / 180
  • Number of attempts: 1
Turn the x - 317 entries

Turn the x to a +

  • Best score: 19
  • Best player score: 23
  • Position: #57 / 80
  • Number of attempts: 7
Format the CSS - 137 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: #24 / 46
  • Number of attempts: 6
Add quotes to ansible playbook - 946 entries

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

  • Best score: 8
  • Best player score: 10
  • Position: #237 / 302
  • Number of attempts: 3
Multiline to Single Line - 680 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #164 / 298
  • 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 - 21 entries

Convert from one format to another

  • Best score: 56
  • Best player score: 72
  • Position: #5 / 11
  • 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