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

Well, swap the values...

  • Best score: 11
  • Best player score: 19
  • Position: #1138 / 1257
  • Number of attempts: 2
Word frequency alignment - 273 entries

You've got to align the second column, but the spacing is inconvenient and there are nasty tabs in the way. If you're a "real Vim ninja," this could be very quick indeed...

  • Best score: 5
  • Best player score: 5
  • Position: #11 / 156
  • Number of attempts: 5
SFD-ROC: Tic-Tac-Toe - 134 entries

Tic-Tac-Toe You are 'X', and it is your turn. Stop 'O' from winning, and complete the game. Draw a diagonal line through your winning row of three X's.

  • Best score: 25
  • Best player score: 47
  • Position: #46 / 51
  • Number of attempts: 1
Switch function arguments - 2078 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 16
  • Position: #581 / 651
  • Number of attempts: 1
James S.P. Barth
Twitter:

entered into 4 challenges

contributed 0 challenges