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 - 1193 entries

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

  • Best score: 16
  • Best player score: 32
  • Position: #154 / 223
  • Number of attempts: 2
Rural Post - 3757 entries

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

  • Best score: 9
  • Best player score: 27
  • Position: #816 / 928
  • Number of attempts: 1
Satisfy the go linter - 1556 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: 31
  • Position: #251 / 322
  • Number of attempts: 7
Simple, Practical, and Common - 32752 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: 25
  • Position: #3320 / 7238
  • Number of attempts: 2
prepend * to every non-blank line - 5800 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 17
  • Position: #1053 / 1427
  • Number of attempts: 1
Add semicolons - 10448 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #709 / 2958
  • Number of attempts: 7
remove lines containing the word "reader" - 3426 entries

easy stuff

  • Best score: 9
  • Best player score: 13
  • Position: #958 / 1110
  • Number of attempts: 2
Box it - 7637 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 30
  • Position: #1363 / 1824
  • Number of attempts: 2
Just the middle - 11076 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3120 / 4089
  • Number of attempts: 5
I forgot quotes - 15647 entries

Oops.

  • Best score: 10
  • Best player score: 12
  • Position: #1363 / 4096
  • Number of attempts: 5
A HAPPY NEW YEAR 2014 ! - 10509 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2462 / 3627
  • Number of attempts: 2
Words in parens - 12678 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 21
  • Position: #3462 / 3904
  • Number of attempts: 2
yxke
Twitter:

於浩歌狂熱之際中寒﹔於天上看見深淵。於一切眼中看見無所有﹔於無所希望中得救。

entered into 12 challenges

contributed 0 challenges