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

Wrap the text of an email message to 79 characters - 826 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 5
  • Position: #197 / 431
  • Number of attempts: 1
Search and Replace 0 - 5010 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 15
  • Position: #1114 / 1632
  • Number of attempts: 2
Swap assigned value - 671 entries

Simple problem but looking for interesting solutions.

  • Best score: 10
  • Best player score: 11
  • Position: #161 / 259
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10703 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 14
  • Position: #2650 / 3696
  • Number of attempts: 1
Ninjas Leaderboard - 102 entries

The two lines in "Start file" has an obfuscated email address. Second line give an index (from 1 to 30) to the chars list of the first line, for example, the first char of email (n) is in position 25, second char (i) is in position 19 and s.o.

  • Best score: 25
  • Best player score: 35
  • Position: #31 / 42
  • Number of attempts: 1
Letter case trickery - 1644 entries

This file is in a downright esoteric format, consisting of hexadecimal numbers, non-hexadecimal keywords, and "Z" indicating end-of-line. Make the hexadecimal numbers lowercase.

  • Best score: 9
  • Best player score: 12
  • Position: #328 / 520
  • Number of attempts: 1
Words in parens - 12980 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2088 / 3972
  • Number of attempts: 1
SFD-ROC: vimvimvim - 1619 entries

Oh no, this line is longer than 80 chars... put each 'vim' on a new line.

  • Best score: 8
  • Best player score: 14
  • Position: #359 / 449
  • Number of attempts: 1
Vertical Limit - 2576 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 25
  • Position: #346 / 762
  • Number of attempts: 1
A Simple One - 1064 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Position: #370 / 670
  • Number of attempts: 1
Change the content of a string - 1686 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 22
  • Position: #127 / 621
  • Number of attempts: 2
Add fold markers to a .c file - 666 entries

Fold markers can make it easier to navigate source code. Add them to this .c file.

  • Best score: 30
  • Best player score: 36
  • Position: #114 / 192
  • Number of attempts: 1
Flodder-challenge - 1391 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 36
  • Position: #186 / 357
  • Number of attempts: 1
Simple text editing with Vim - 13183 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 15
  • Position: #2120 / 3789
  • Number of attempts: 2
devper94
Twitter:

entered into 14 challenges

contributed 0 challenges