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

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

  • Best score: 16
  • Best player score: 27
  • Position: #212 / 393
  • Number of attempts: 2
Rural Post - 4579 entries

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

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

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Position: #1975 / 3893
  • Number of attempts: 1
Add string initializers to an enum - 899 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 28
  • Position: #223 / 264
  • Number of attempts: 1
Add semicolons - 10923 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1443 / 3087
  • Number of attempts: 3
remove lines containing the word "reader" - 3631 entries

easy stuff

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

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #943 / 1895
  • Number of attempts: 3
Delete to the end of the current line - 865 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 / 415
  • 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 ! - 10721 entries

A HAPPY NEW YEAR 2014 !

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

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

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

I store my ideas here occasionally

entered into 11 challenges

contributed 0 challenges