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

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

  • Best score: 9
  • Best player score: 13
  • Position: #591 / 1120
  • Number of attempts: 1
Multiline to Single Line - 751 entries

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

  • Best score: 5
  • Best player score: 7
  • Position: #288 / 320
  • Number of attempts: 1
From a Thunderlink to a Markdown link - 796 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: #123 / 175
  • Number of attempts: 5
Simple, Practical, and Common - 33958 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: #4333 / 7498
  • Number of attempts: 2
One number per line - 18889 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 21
  • Position: #2460 / 3898
  • Number of attempts: 3
V to the i - 4848 entries

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

  • Best score: 7
  • Best player score: 9
  • Position: #1612 / 1907
  • Number of attempts: 1
Add semicolons - 10932 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 18
  • Position: #2725 / 3091
  • Number of attempts: 1
Copy three lines - 2909 entries

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

  • Best score: 13
  • Best player score: 21
  • Position: #463 / 644
  • Number of attempts: 1
Remember VimGolf Rules ! - 277 entries

Rules, ... and don't forget !

  • Best score: 7
  • Best player score: 8
  • Position: #73 / 147
  • Number of attempts: 1
Basic renumbering - 5731 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 22
  • Position: #973 / 1277
  • Number of attempts: 4
Fiddle percentages into real numbers - 884 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: #247 / 296
  • Number of attempts: 3
switch variable - 5110 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 14
  • Position: #1397 / 1758
  • 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