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

swap number pairs - 2146 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 22
  • Position: #158 / 390
  • Number of attempts: 5
HS Final exam vimgolf - 913 entries

Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.

  • Best score: 21
  • Best player score: 37
  • Position: #184 / 241
  • Number of attempts: 2
Rural Post - 4572 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 9
  • Position: #76 / 1116
  • Number of attempts: 7
Satisfy the go linter - 2468 entries

You just came up with this briliant go vars package. But dang, you forgot to add comments to the exported variables. Can you add a comment over each variable with a TODO-placeholder?

  • Best score: 20
  • Best player score: 25
  • Position: #283 / 491
  • Number of attempts: 3
Simple, Practical, and Common - 33866 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: 24
  • Position: #3119 / 7474
  • Number of attempts: 5
One number per line - 18831 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 28
  • Position: #3602 / 3889
  • Number of attempts: 1
Add semicolons - 10916 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1942 / 3085
  • Number of attempts: 1
Basic renumbering - 5707 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 28
  • Position: #1212 / 1274
  • Number of attempts: 1
I forgot quotes - 16093 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Position: #2745 / 4202
  • Number of attempts: 4
replacing each line of a block selection - 3007 entries

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

  • Best score: 18
  • Best player score: 23
  • Position: #445 / 780
  • Number of attempts: 2
HTML to Haml - 881 entries

Help convert this HTML page to Haml.

  • Best score: 23
  • Best player score: 40
  • Position: #116 / 205
  • Number of attempts: 3
Simple text editing with Vim - 13273 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1907 / 3811
  • Number of attempts: 5
angel
Twitter:

entered into 12 challenges

contributed 0 challenges