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 - 34020 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: 31
  • Position: #5633 / 7517
  • Number of attempts: 5
Swap values - 4705 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Position: #241 / 1293
  • Number of attempts: 7
One number per line - 18903 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Position: #3090 / 3904
  • Number of attempts: 5
Add semicolons - 10956 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #88 / 3098
  • Number of attempts: 4
Bad Copy Syntax - 2088 entries

Copy should be from right to left, but sometimes you type it wrong.

  • Best score: 18
  • Best player score: 27
  • Position: #407 / 543
  • Number of attempts: 1
Box it - 8003 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #139 / 1901
  • Number of attempts: 6
Every other line - 2951 entries

AaAaAaA

  • Best score: 12
  • Best player score: 21
  • Position: #643 / 712
  • Number of attempts: 2
Just the middle - 11620 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 10
  • Position: #3846 / 4258
  • Number of attempts: 3
Team names - 1861 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 16
  • Position: #172 / 596
  • Number of attempts: 4
Basic renumbering - 5737 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 22
  • Position: #980 / 1281
  • Number of attempts: 6
Array transposition - 2481 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 23
  • Position: #271 / 461
  • Number of attempts: 4
I forgot quotes - 16237 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1801 / 4224
  • Number of attempts: 6
A HAPPY NEW YEAR 2014 ! - 10757 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1293 / 3716
  • Number of attempts: 10
Simple text editing with Vim - 13644 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 15
  • Position: #2222 / 3906
  • Number of attempts: 1
Korgan
Twitter:

entered into 14 challenges

contributed 0 challenges