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

Quicksort - 1588 entries

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

  • Best score: 6
  • Best player score: 26
  • Position: #234 / 348
  • Number of attempts: 4
One number per line - 18616 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 22
  • Position: #2616 / 3842
  • Number of attempts: 4
V to the i - 4751 entries

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

  • Best score: 7
  • Best player score: 9
  • Position: #1659 / 1879
  • Number of attempts: 2
Split line with dots - 2125 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 26
  • Position: #535 / 630
  • Number of attempts: 3
Every other line - 2886 entries

AaAaAaA

  • Best score: 12
  • Best player score: 18
  • Position: #530 / 700
  • Number of attempts: 1
Just the middle - 11360 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3406 / 4164
  • Number of attempts: 2
Combines all items - 303 entries

For each line that starts with the same number I want to combine its contents

  • Best score: 9
  • Best player score: 9
  • Position: #21 / 137
  • Number of attempts: 3
7th Birthday - 186 entries

We have a bunch of numbers written from 0 to 9 in the order present in the text input file. The task is to create 7 by replacing the numbers with dashes.

  • Best score: 19
  • Best player score: 28
  • Position: #61 / 73
  • Number of attempts: 1
I forgot quotes - 15931 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3160 / 4161
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10628 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2155 / 3667
  • Number of attempts: 4
Switch function arguments - 2082 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 16
  • Position: #601 / 652
  • Number of attempts: 3
Simple text editing with Vim - 12290 entries

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

  • Best score: 13
  • Best player score: 17
  • Position: #2407 / 3581
  • Number of attempts: 4
Jon E. Eguiluz 🏳️‍🌈
Twitter:

I learn as much as I can. Cuento las mentiras que quieres oír y las verdades que desearías no escuchar. Any pronoun is ok.

entered into 12 challenges

contributed 0 challenges