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

switch variable - 4613 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 15
  • Number of attempts: 1
Going underground.... - 298 entries

Simple reformatting: in this case changing from the format London underground supplies its customers with, to the format that Google Calendar likes...

  • Best score: 22
  • Best player score: 33
  • Number of attempts: 1
V to the i - 4335 entries

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

  • Best score: 7
  • Best player score: 9
  • Number of attempts: 1
Basic renumbering - 5087 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 13
  • Number of attempts: 8
Count both ways - 915 entries

Right AND down.

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 6
Vice versa - 6837 entries

Little role switching.

  • Best score: 12
  • Best player score: 15
  • Number of attempts: 2
That hyphen - 2376 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 14
  • Number of attempts: 2
Add semicolons - 7687 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 2
I forgot quotes - 14259 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 3
Words in parens - 11973 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 3
Space out the alphabet - 1463 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 21
  • Number of attempts: 1
remove lines containing the word "reader" - 2800 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
Gray area - 664 entries

It's a golf metaphor or something.

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 5660 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 52
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10072 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 5
Box it - 6012 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 22
  • Number of attempts: 4
Simple text editing with Vim - 10989 entries

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

  • Best score: 13
  • Best player score: 19
  • Number of attempts: 2
One number per line - 16220 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 18
  • Number of attempts: 5
Hogwarts Email Sorting - 516 entries

Given a list of emails, get the students full name and their associated house.

  • Best score: 20
  • Best player score: 22
  • Number of attempts: 2
Collect List - 3874 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 2
Simple, Practical, and Common - 29774 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: 9
Felix Boers
Twitter:

entered into 21 challenges

contributed 0 challenges