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 number pairs - 2128 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 27
  • Position: #209 / 388
  • Number of attempts: 2
Rural Post - 4567 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 9
  • Position: #87 / 1114
  • Number of attempts: 4
One number per line - 18801 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Position: #1971 / 3882
  • Number of attempts: 1
Add string initializers to an enum - 884 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 28
  • Position: #221 / 261
  • Number of attempts: 1
Add semicolons - 10899 entries

Simply add a semicolon at the end of each line

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

easy stuff

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

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #940 / 1886
  • Number of attempts: 3
Delete to the end of the current line - 849 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 5
  • Position: #228 / 407
  • Number of attempts: 2
No naked if allowed! - 39 entries

House style forbids naked condition statements, comments should start with a space character and be on their own line. Good luck!

  • Best score: 46
  • Best player score: 58
  • Position: #9 / 17
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10699 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1514 / 3695
  • Number of attempts: 4
Alphabet soup - 434 entries

Create a column of all alphabet characters organized in a funky way

  • Best score: 25
  • Best player score: 25
  • Position: #8 / 109
  • Number of attempts: 1
Eric Banisadr
Twitter:

I store my ideas here occasionally

entered into 11 challenges

contributed 0 challenges