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

Not enough Ps - 57 entries

Different type of code

  • Best score: 13
  • Best player score: 19
  • Number of attempts: 1
-a-b-c- - 2955 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Number of attempts: 1
Basic renumbering - 5240 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 21
  • Number of attempts: 2
Interleave lines - 127 entries

This is some kind of « paste -d'\n' c b a ». There are many ways to achieve this.. just find the shortest!

  • Best score: 17
  • Best player score: 27
  • Number of attempts: 2
V to the i - 4462 entries

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

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
Switch function arguments - 1888 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 20
  • Number of attempts: 1
Two become one - 692 entries

We have two c arrays and want to make one two dimensional out of it. Can we do that?

  • Best score: 25
  • Best player score: 28
  • Number of attempts: 3
Space out the alphabet - 1479 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 22
  • Number of attempts: 1
I forgot quotes - 14974 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 6
Happy TvvO - 367 entries

Don’t forget the past, learn from it. Happy New Year.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 1
Just the middle - 10705 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
That hyphen - 2400 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 14
  • Number of attempts: 1
Reformat a C golf submission - 489 entries

Take this C golf submission (for the "tiny but standards-compliant Hello World program" category, naturally), and turn it into formatted C code.

  • Best score: 22
  • Best player score: 25
  • Number of attempts: 2
Simple text editing with Vim - 11152 entries

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

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 4
Simple, Practical, and Common - 31292 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: 22
  • Number of attempts: 5
One number per line - 17278 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Number of attempts: 3
prepend * to every non-blank line - 4423 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 4
BartJanssen
Twitter:

entered into 17 challenges

contributed 0 challenges