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 - 33868 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: 22
  • Position: #1870 / 7475
  • Number of attempts: 10
Add string initializers to an enum - 892 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 28
  • Position: #205 / 263
  • Number of attempts: 4
Add semicolons - 10916 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #186 / 3085
  • Number of attempts: 12
Box it - 7962 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 30
  • Position: #1383 / 1891
  • Number of attempts: 3
Just the middle - 11541 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3426 / 4230
  • Number of attempts: 1
Subnetting - 131 entries

Split up the IP addresses in the right way.

  • Best score: 29
  • Best player score: 37
  • Position: #25 / 39
  • Number of attempts: 2
Vice versa - 7974 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1206 / 2146
  • Number of attempts: 1
comments galore - 1073 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 11
  • Position: #323 / 429
  • Number of attempts: 1
replacing each line of a block selection - 3007 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 29
  • Position: #622 / 780
  • Number of attempts: 2
Reverse and double space - 500 entries

Reverse the order of the given lines and double space everything

  • Best score: 14
  • Best player score: 27
  • Position: #193 / 199
  • Number of attempts: 1
switch variable - 5094 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #102 / 1754
  • Number of attempts: 9
The meaning - 577 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Position: #66 / 364
  • Number of attempts: 1
Ugly spreadsheet copy/paste to CSV - 1011 entries

convert an ugly spreadsheet copy/paste into a CSV format.

  • Best score: 19
  • Best player score: 53
  • Position: #167 / 194
  • Number of attempts: 1
Replacing some words - 428 entries

How fast could it be?

  • Best score: 17
  • Best player score: 25
  • Position: #99 / 151
  • Number of attempts: 4
Simple text editing with Vim - 13274 entries

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

  • Best score: 13
  • Best player score: 22
  • Position: #3040 / 3811
  • Number of attempts: 1
bsjd
Twitter:

entered into 15 challenges

contributed 0 challenges