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 - 33420 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: #2528 / 7375
  • Number of attempts: 7
One number per line - 18638 entries

Just give me the numbers.

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

Delete the instructions at the top and bottom.

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

Renumbering Basic.

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

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

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

Migrate a JavaScript String from concatenation to ES6 interpolation.

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

Oops.

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

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #726 / 3948
  • Number of attempts: 4
Hole-in-one - 1012 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: #250 / 302
  • Number of attempts: 1
Numbering a List - 1860 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 22
  • Position: #440 / 640
  • Number of attempts: 1
Simple text editing with Vim - 12360 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 / 3599
  • 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