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 - 33353 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 / 7358
  • Number of attempts: 10
Add string initializers to an enum - 862 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 28
  • Position: #198 / 254
  • Number of attempts: 4
Add semicolons - 10785 entries

Simply add a semicolon at the end of each line

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

Create a box around a line.

  • Best score: 21
  • Best player score: 30
  • Position: #1359 / 1861
  • Number of attempts: 3
Just the middle - 11346 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3376 / 4160
  • Number of attempts: 1
Subnetting - 111 entries

Split up the IP addresses in the right way.

  • Best score: 29
  • Best player score: 37
  • Position: #23 / 36
  • Number of attempts: 2
Vice versa - 7778 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1185 / 2095
  • Number of attempts: 1
comments galore - 998 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 11
  • Position: #314 / 418
  • Number of attempts: 1
replacing each line of a block selection - 2925 entries

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

  • Best score: 18
  • Best player score: 29
  • Position: #612 / 764
  • Number of attempts: 2
Reverse and double space - 489 entries

Reverse the order of the given lines and double space everything

  • Best score: 14
  • Best player score: 27
  • Position: #189 / 194
  • Number of attempts: 1
switch variable - 5028 entries

how fast can you switch two variable ?

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

Numbers are fun!

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

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

  • Best score: 19
  • Best player score: 53
  • Position: #160 / 185
  • Number of attempts: 1
Replacing some words - 419 entries

How fast could it be?

  • Best score: 17
  • Best player score: 25
  • Position: #97 / 148
  • Number of attempts: 4
Simple text editing with Vim - 12233 entries

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

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

entered into 15 challenges

contributed 0 challenges