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

V to the i - 4818 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Position: #133 / 1898
  • Number of attempts: 3
Just the middle - 11495 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #1582 / 4213
  • Number of attempts: 4
Basic renumbering - 5683 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 26
  • Position: #1168 / 1269
  • Number of attempts: 1
Condensed Cases - 804 entries

Apple's new programming language, Swift, allows two style of case statements: 1) one Enum case on each line, or 2) multiple Enum cases on a single line. Convert the following from the first case (no pun intended) to the second type.

  • Best score: 12
  • Best player score: 14
  • Position: #128 / 247
  • Number of attempts: 6
120 Degrees - 493 entries

Rotate that triangle.

  • Best score: 14
  • Best player score: 26
  • Position: #117 / 145
  • Number of attempts: 2
Hole-in-one - 1024 entries

Lets take this golf thing literally.. Drive off the tee into the hole, and of course you don't strike the ball completely clean.

  • Best score: 15
  • Best player score: 16
  • Position: #72 / 305
  • Number of attempts: 10
alex annan
Twitter:

entered into 6 challenges

contributed 0 challenges