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 - 32879 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 / 7266
  • Number of attempts: 10
Add string initializers to an enum - 759 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 28
  • Position: #175 / 224
  • Number of attempts: 4
Add semicolons - 10527 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #187 / 2986
  • Number of attempts: 12
Box it - 7678 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 30
  • Position: #1333 / 1834
  • Number of attempts: 3
Just the middle - 11119 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3333 / 4108
  • Number of attempts: 1
Subnetting - 102 entries

Split up the IP addresses in the right way.

  • Best score: 29
  • Best player score: 37
  • Position: #21 / 33
  • Number of attempts: 2
Vice versa - 7508 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1155 / 2038
  • Number of attempts: 1
comments galore - 967 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 11
  • Position: #308 / 409
  • Number of attempts: 1
replacing each line of a block selection - 2777 entries

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

  • Best score: 18
  • Best player score: 29
  • Position: #588 / 731
  • Number of attempts: 2
Reverse and double space - 441 entries

Reverse the order of the given lines and double space everything

  • Best score: 14
  • Best player score: 27
  • Position: #177 / 182
  • Number of attempts: 1
switch variable - 4901 entries

how fast can you switch two variable ?

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

Numbers are fun!

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

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

  • Best score: 19
  • Best player score: 53
  • Position: #150 / 172
  • Number of attempts: 1
Replacing some words - 406 entries

How fast could it be?

  • Best score: 17
  • Best player score: 25
  • Position: #94 / 143
  • Number of attempts: 4
Simple text editing with Vim - 11589 entries

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

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

entered into 15 challenges

contributed 0 challenges