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

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

  • Best score: 16
  • Best player score: 49
  • Position: #335 / 370
  • Number of attempts: 2
Rural Post - 4379 entries

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

  • Best score: 9
  • Best player score: 9
  • Position: #187 / 1074
  • Number of attempts: 5
Simple, Practical, and Common - 33399 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: 31
  • Position: #5683 / 7368
  • Number of attempts: 1
Add semicolons - 10795 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 17
  • Position: #2596 / 3045
  • Number of attempts: 1
fib.c cleanup - 66 entries

cleanup the file

  • Best score: 15
  • Best player score: 28
  • Position: #53 / 54
  • Number of attempts: 1
abcd > a b c d - 281 entries

transform the single spaces into 4 spaces repeat for each line

  • Best score: 15
  • Best player score: 17
  • Position: #211 / 219
  • Number of attempts: 1
Simple text editing with Vim - 12301 entries

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

  • Best score: 13
  • Best player score: 40
  • Position: #3437 / 3584
  • Number of attempts: 3
ひま
Twitter:

zless

entered into 7 challenges

contributed 0 challenges