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 - 32746 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: 23
  • Position: #2476 / 7235
  • Number of attempts: 7
One number per line - 18240 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #147 / 3760
  • Number of attempts: 10
Just the middle - 11074 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #800 / 4088
  • Number of attempts: 6
Basic renumbering - 5393 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 11
  • Position: #112 / 1218
  • Number of attempts: 13
replace 2nd column blanks with values in same column if blank - 208 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: #40 / 71
  • Number of attempts: 1
Sort files from hosts - 137 entries

Resume files by host. I hope you enjoy with this challenge

  • Best score: 15
  • Best player score: 15
  • Position: #14 / 62
  • Number of attempts: 3
Hello ${world} - 291 entries

Migrate a JavaScript String from concatenation to ES6 interpolation.

  • Best score: 24
  • Best player score: 24
  • Position: #6 / 90
  • Number of attempts: 5
I forgot quotes - 15639 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #508 / 4095
  • Number of attempts: 9
Words in parens - 12677 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #713 / 3903
  • Number of attempts: 4
Hole-in-one - 963 entries

Lets take this golf thing literally.. Drive off the tee into the hole, and of course you don't strike the ball completely clean.

  • Best score: 15
  • Best player score: 22
  • Position: #242 / 294
  • Number of attempts: 1
Numbering a List - 1774 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 22
  • Position: #414 / 609
  • Number of attempts: 1
Simple text editing with Vim - 11354 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #453 / 3335
  • Number of attempts: 7
Peter Chynoweth
Twitter:

Life partner; Step-Dad; Grandpa; UCCan Minister; Exploring the intersection of Technology and Theology; Geek; Northerner

entered into 12 challenges

contributed 0 challenges