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

Tabbed Table to Python Array - 491 entries

Not payed by the hour? So make it fast ;-) The table contains the relative occurencies of bigrams (two consecutive letters) in 1/100,000 in the german language, copy-pasted from http://www.mathe.tu-freiberg.de/~hebisch/cafe/kryptographie/bigramme.html

  • Best score: 50
  • Best player score: 93
  • Position: #128 / 138
  • Number of attempts: 1
Many duplicates - 1048 entries

Quick and easy

  • Best score: 7
  • Best player score: 12
  • Position: #301 / 341
  • Number of attempts: 2
Fix the shell script! - 1857 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 52
  • Position: #374 / 451
  • Number of attempts: 1
Making 3 line function a one liner. - 290 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #115 / 183
  • Number of attempts: 1
Put a cross in the square - 192 entries

Put a cross in the square

  • Best score: 20
  • Best player score: 28
  • Position: #78 / 80
  • Number of attempts: 1
swap number pairs - 1925 entries

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

  • Best score: 16
  • Best player score: 34
  • Position: #265 / 354
  • Number of attempts: 1
Rural Post - 4290 entries

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

  • Best score: 9
  • Best player score: 19
  • Position: #791 / 1052
  • Number of attempts: 3
Delete unwanted lines - 392 entries

Delete all lines which does not end in "o.."

  • Best score: 9
  • Best player score: 9
  • Position: #193 / 224
  • Number of attempts: 1
Joe Bushi
Twitter:

Web developer, cook, free thinker.

entered into 8 challenges

contributed 0 challenges