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

Simple, Practical, and Common - 32904 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: 22
  • Position: #16 / 7270
  • Number of attempts: 6
Return the cow - 71 entries

This cow is too verbose. Give it a lesson.

  • Best score: 52
  • Best player score: 82
  • Position: #18 / 28
  • Number of attempts: 1
Basic renumbering - 5430 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 14
  • Position: #373 / 1227
  • Number of attempts: 4
Vice versa - 7520 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #12 / 2043
  • Number of attempts: 3
Maze path - 32 entries

Follow the given motions and mark your path with Xs. Attention: This maze is quite big (20x20), please set your terminal size to at least 82.

  • Best score: 25
  • Best player score: 124
  • Position: #12 / 13
  • Number of attempts: 3
-a-b-c- - 3118 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 14
  • Position: #314 / 1112
  • Number of attempts: 2
Format the output - 102 entries

Sometimes your standard out is a little hard to read. Take this multilevel hash and make it human readable.

  • Best score: 35
  • Best player score: 40
  • Position: #9 / 34
  • Number of attempts: 3
Simple text editing with Vim - 11620 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1381 / 3409
  • Number of attempts: 2
Reef
Twitter:

entered into 8 challenges

contributed 0 challenges