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 values - 4643 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 15
  • Position: #918 / 1274
  • Number of attempts: 3
V to the i - 4818 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1303 / 1898
  • Number of attempts: 3
Number Sort - 314 entries

sort the list of newline-separated numbers incrementally. Numbers are in the range 1 to 1000, with 500 missing

  • Best score: 9
  • Best player score: 13
  • Position: #164 / 166
  • Number of attempts: 2
Just the middle - 11495 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2656 / 4213
  • Number of attempts: 6
Team names - 1841 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 17
  • Position: #297 / 589
  • Number of attempts: 2
Vice versa - 7953 entries

Little role switching.

  • Best score: 12
  • Best player score: 18
  • Position: #1770 / 2140
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10688 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 16
  • Position: #3307 / 3691
  • Number of attempts: 1
サブアカウント
Twitter:

サブ

entered into 7 challenges

contributed 0 challenges