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

Rural Post - 4602 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 13
  • Position: #593 / 1124
  • Number of attempts: 1
Multiline to Single Line - 754 entries

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

  • Best score: 5
  • Best player score: 7
  • Position: #290 / 322
  • Number of attempts: 1
From a Thunderlink to a Markdown link - 797 entries

ThunderLinks are durable hyperlinks to specific email messages generated from Thunderbird in HTML format. Leverage the power of vim to make them suitable for a markdown-formatted file.

  • Best score: 18
  • Best player score: 24
  • Position: #124 / 176
  • Number of attempts: 5
Simple, Practical, and Common - 34012 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 28
  • Position: #4340 / 7513
  • Number of attempts: 2
One number per line - 18903 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 21
  • Position: #2463 / 3904
  • Number of attempts: 3
V to the i - 4883 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 9
  • Position: #1618 / 1914
  • Number of attempts: 1
Add semicolons - 10956 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 18
  • Position: #2732 / 3098
  • Number of attempts: 1
Copy three lines - 2923 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 21
  • Position: #465 / 647
  • Number of attempts: 1
Remember VimGolf Rules ! - 279 entries

Rules, ... and don't forget !

  • Best score: 7
  • Best player score: 8
  • Position: #74 / 149
  • Number of attempts: 1
Basic renumbering - 5733 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 22
  • Position: #975 / 1279
  • Number of attempts: 4
Fiddle percentages into real numbers - 886 entries

Get rid of the '%' symbols and shift the decimal place. This is the easier version - all the columns line up.

  • Best score: 13
  • Best player score: 18
  • Position: #248 / 297
  • Number of attempts: 3
switch variable - 5128 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 14
  • Position: #1402 / 1764
  • Number of attempts: 1
Michael D Jones
Twitter:

Microbiologist, Molecular biologist. Science enthusiast. I draw on wikipedia too!

entered into 12 challenges

contributed 0 challenges