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 - 33571 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: 25
  • Position: #3247 / 7405
  • Number of attempts: 8
V to the i - 4796 entries

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

  • Best score: 7
  • Best player score: 10
  • Position: #1765 / 1891
  • Number of attempts: 1
Copy three lines - 2872 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 21
  • Position: #452 / 640
  • Number of attempts: 3
Just the middle - 11423 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2499 / 4185
  • Number of attempts: 4
Interactive git rebase changing commands - 172 entries

How to change the action of some commits in git rebase dialog.

  • Best score: 14
  • Best player score: 18
  • Position: #72 / 79
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10656 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1167 / 3679
  • Number of attempts: 4
switch variable - 5065 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 13
  • Position: #1202 / 1745
  • Number of attempts: 1
Paul Sohn
Twitter:

Python developer in the city planning/transportation world. Work at @urbansim. Urbanist, bike commuter, husband, cat person.

entered into 7 challenges

contributed 0 challenges