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 - 34021 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: #6425 / 7517
  • Number of attempts: 6
Hogwarts Email Sorting - 954 entries

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

  • Best score: 20
  • Best player score: 29
  • Position: #230 / 272
  • Number of attempts: 4
Swap values - 4707 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 25
  • Position: #1238 / 1294
  • Number of attempts: 2
prepend * to every non-blank line - 6397 entries

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

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

Just give me the numbers.

  • Best score: 14
  • Best player score: 28
  • Position: #3608 / 3904
  • Number of attempts: 1
Add semicolons - 10956 entries

Simply add a semicolon at the end of each line

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

easy stuff

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

Create a box around a line.

  • Best score: 21
  • Best player score: 28
  • Position: #1270 / 1901
  • Number of attempts: 3
Vice versa - 8021 entries

Little role switching.

  • Best score: 12
  • Best player score: 20
  • Position: #1902 / 2158
  • Number of attempts: 2
I forgot quotes - 16239 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Position: #3095 / 4225
  • Number of attempts: 2
Array Transposition - 216 entries

Transpose four arrays into two.

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

it's a (day) today

entered into 11 challenges

contributed 0 challenges