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 - 33866 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: 29
  • Position: #4919 / 7474
  • Number of attempts: 4
Swap values - 4661 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 20
  • Position: #1182 / 1282
  • Number of attempts: 1
Swap values inside brackets - 2523 entries

Easy challenge.

  • Best score: 13
  • Best player score: 25
  • Position: #510 / 587
  • Number of attempts: 3
Array propagate - 343 entries

Complete the array with the keys as part of the value

  • Best score: 23
  • Best player score: 43
  • Position: #111 / 121
  • Number of attempts: 1
Number Sort - 319 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: 9
  • Position: #62 / 170
  • Number of attempts: 6
Delete to the end of the current line - 855 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 8
  • Position: #392 / 411
  • Number of attempts: 3
switch variable - 5094 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 17
  • Position: #1628 / 1754
  • Number of attempts: 4
Bernhard Brunner
Twitter:

entered into 7 challenges

contributed 0 challenges