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

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

  • Best score: 16
  • Best player score: 22
  • Position: #159 / 393
  • Number of attempts: 5
HS Final exam vimgolf - 933 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: #187 / 244
  • Number of attempts: 2
Rural Post - 4579 entries

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

  • Best score: 9
  • Best player score: 9
  • Position: #76 / 1117
  • Number of attempts: 7
Satisfy the go linter - 2476 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: #284 / 492
  • Number of attempts: 3
Simple, Practical, and Common - 33930 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: #3123 / 7490
  • Number of attempts: 5
One number per line - 18840 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 28
  • Position: #3605 / 3893
  • Number of attempts: 1
Add semicolons - 10923 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1944 / 3087
  • 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 - 16127 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Position: #2750 / 4208
  • Number of attempts: 4
replacing each line of a block selection - 3028 entries

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

  • Best score: 18
  • Best player score: 23
  • Position: #448 / 784
  • Number of attempts: 2
HTML to Haml - 883 entries

Help convert this HTML page to Haml.

  • Best score: 23
  • Best player score: 40
  • Position: #117 / 206
  • Number of attempts: 3
Simple text editing with Vim - 13427 entries

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

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

entered into 12 challenges

contributed 0 challenges