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 - 32963 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: 48
  • Position: #7161 / 7277
  • Number of attempts: 1
Every other line - 2829 entries

AaAaAaA

  • Best score: 12
  • Best player score: 17
  • Position: #414 / 686
  • Number of attempts: 4
7th Birthday - 182 entries

We have a bunch of numbers written from 0 to 9 in the order present in the text input file. The task is to create 7 by replacing the numbers with dashes.

  • Best score: 19
  • Best player score: 23
  • Position: #34 / 70
  • Number of attempts: 6
-a-b-c- - 3122 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 19
  • Position: #1036 / 1113
  • Number of attempts: 1
Word frequency alignment - 245 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: #96 / 146
  • Number of attempts: 1
Byaruhanga Franklin
Twitter:

I am a telecommunication Engineer I write code. I live in Kampala. My favorite programming languages are Erlang and Python.

entered into 5 challenges

contributed 0 challenges