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 - 33967 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: 28
  • Position: #4131 / 7501
  • Number of attempts: 6
Box it - 7997 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 61
  • Position: #1830 / 1897
  • Number of attempts: 1
replace 2nd column blanks with values in same column if blank - 248 entries

Where ,SOMELOGB and ,SOMELOGC replaces each /r carriage return if 2nd column is blank. The replace only happens if 2nd column is blank though and should replace up to the non blank row.

  • Best score: 15
  • Best player score: 17
  • Position: #47 / 84
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10748 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 17
  • Position: #3360 / 3711
  • Number of attempts: 2
Word frequency alignment - 296 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: 6
  • Position: #134 / 163
  • Number of attempts: 3
Minimalist Limerick - 531 entries

Reproduce this lovely poem.

  • Best score: 30
  • Best player score: 34
  • Position: #54 / 175
  • Number of attempts: 3
Define to require - 139 entries

When JSHint is enabled, there's a rule that doesn't let you have more than 6 arguments in a function, so the moment you need to add a 7th argument, you need to do a refactoring.

  • Best score: 62
  • Best player score: 113
  • Position: #45 / 51
  • Number of attempts: 2
Aeden Jameson
Twitter:

Explorer. Experimenter. Lover. Bulider. Philosopher. Questioner of intellectual faiths. Relentless pursuer of better ways. Basically, I don't know squat.

entered into 7 challenges

contributed 0 challenges