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

Simple, Practical, and Common - 33757 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
  • Position: #6377 / 7450
  • Number of attempts: 6
Hogwarts Email Sorting - 930 entries

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

  • Best score: 20
  • Best player score: 29
  • Position: #223 / 263
  • Number of attempts: 4
Swap values - 4647 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 25
  • Position: #1224 / 1276
  • Number of attempts: 2
prepend * to every non-blank line - 6358 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #108 / 1551
  • Number of attempts: 14
One number per line - 18784 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 28
  • Position: #3588 / 3878
  • Number of attempts: 1
Add semicolons - 10899 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #535 / 3078
  • Number of attempts: 5
remove lines containing the word "reader" - 3614 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #7 / 1173
  • Number of attempts: 7
Box it - 7954 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 28
  • Position: #1264 / 1886
  • Number of attempts: 3
Vice versa - 7968 entries

Little role switching.

  • Best score: 12
  • Best player score: 20
  • Position: #1891 / 2144
  • Number of attempts: 2
I forgot quotes - 16051 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Position: #3074 / 4194
  • Number of attempts: 2
Array Transposition - 202 entries

Transpose four arrays into two.

  • Best score: 27
  • Best player score: 129
  • Position: #57 / 57
  • Number of attempts: 1
nick
Twitter:

it's a (day) today

entered into 11 challenges

contributed 0 challenges