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 - 33724 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 / 7442
  • Number of attempts: 10
Add string initializers to an enum - 873 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 28
  • Position: #202 / 259
  • Number of attempts: 4
Add semicolons - 10881 entries

Simply add a semicolon at the end of each line

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

Create a box around a line.

  • Best score: 21
  • Best player score: 30
  • Position: #1376 / 1881
  • Number of attempts: 3
Just the middle - 11484 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3412 / 4209
  • 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 - 7945 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1203 / 2138
  • Number of attempts: 1
comments galore - 1048 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 11
  • Position: #321 / 425
  • Number of attempts: 1
replacing each line of a block selection - 3001 entries

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

  • Best score: 18
  • Best player score: 29
  • Position: #621 / 778
  • 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 - 5079 entries

how fast can you switch two variable ?

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

Numbers are fun!

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

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

  • Best score: 19
  • Best player score: 53
  • Position: #166 / 193
  • 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 - 12989 entries

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

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

entered into 15 challenges

contributed 0 challenges