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

Swap values - 4261 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 25
  • Number of attempts: 2
I forgot quotes - 14974 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Number of attempts: 2
One number per line - 17278 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 28
  • Number of attempts: 1
Array Transposition - 160 entries

Transpose four arrays into two.

  • Best score: 27
  • Best player score: 129
  • Number of attempts: 1
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: 10
  • Number of attempts: 14
Hogwarts Email Sorting - 626 entries

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

  • Best score: 20
  • Best player score: 29
  • Number of attempts: 4
Vice versa - 7071 entries

Little role switching.

  • Best score: 12
  • Best player score: 20
  • Number of attempts: 2
remove lines containing the word "reader" - 3169 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 7
Box it - 6822 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 28
  • Number of attempts: 3
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: 34
  • Number of attempts: 6
Add semicolons - 8994 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 5
nick
Twitter:

it's a (day) today

entered into 11 challenges

contributed 0 challenges