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 - 1475 entries

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

  • Best score: 16
  • Best player score: 27
  • Position: #149 / 285
  • Number of attempts: 2
Rural Post - 4105 entries

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

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

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Position: #1936 / 3788
  • Number of attempts: 1
Add string initializers to an enum - 765 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 28
  • Position: #194 / 226
  • Number of attempts: 1
Add semicolons - 10539 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1405 / 2988
  • Number of attempts: 3
remove lines containing the word "reader" - 3454 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #401 / 1121
  • Number of attempts: 5
Box it - 7680 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #912 / 1835
  • Number of attempts: 3
Delete to the end of the current line - 711 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 / 348
  • Number of attempts: 2
No naked if allowed! - 25 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: #8 / 14
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10533 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1515 / 3637
  • Number of attempts: 4
Alphabet soup - 392 entries

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

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

I store my ideas here occasionally

entered into 11 challenges

contributed 0 challenges