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 - 32910 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: #2490 / 7271
  • Number of attempts: 7
One number per line - 18378 entries

Just give me the numbers.

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

Delete the instructions at the top and bottom.

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

Renumbering Basic.

  • Best score: 11
  • Best player score: 11
  • Position: #112 / 1227
  • Number of attempts: 13
replace 2nd column blanks with values in same column if blank - 210 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: #41 / 73
  • Number of attempts: 1
Sort files from hosts - 145 entries

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

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

Migrate a JavaScript String from concatenation to ES6 interpolation.

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

Oops.

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

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #717 / 3919
  • Number of attempts: 4
Hole-in-one - 973 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: #245 / 297
  • Number of attempts: 1
Numbering a List - 1828 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 22
  • Position: #429 / 625
  • Number of attempts: 1
Simple text editing with Vim - 11637 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 / 3413
  • 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