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 - 33742 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: 22
  • Position: #1154 / 7447
  • Number of attempts: 9
multiple cursor alternative - 1521 entries

from: https://www.reddit.com/r/vim/comments/6w5pfa/crosspost_from_remacs_how_would_you_do_this_in_vim/

  • Best score: 19
  • Best player score: 19
  • Position: #37 / 381
  • Number of attempts: 6
Every other line - 2916 entries

AaAaAaA

  • Best score: 12
  • Best player score: 16
  • Position: #400 / 705
  • Number of attempts: 3
Extract argument from function - 2364 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 17
  • Position: #631 / 755
  • Number of attempts: 1
Basic renumbering - 5683 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 16
  • Position: #564 / 1269
  • Number of attempts: 12
Fiddle percentages into real numbers - 869 entries

Get rid of the '%' symbols and shift the decimal place. This is the easier version - all the columns line up.

  • Best score: 13
  • Best player score: 19
  • Position: #262 / 293
  • Number of attempts: 2
Order and join - 985 entries

There's something special about the input order.

  • Best score: 10
  • Best player score: 10
  • Position: #42 / 260
  • Number of attempts: 8
Collect List - 4308 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Position: #339 / 1192
  • Number of attempts: 5
Don't know what this is - 2024 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 15
  • Position: #413 / 586
  • Number of attempts: 2
SFD-ROC: ROT13 Phonics - 101 entries

A is for apple, b is for ball, etc... This familiar phonics poem has been rotated 13 characters. Make the letter match the word.

  • Best score: 6
  • Best player score: 6
  • Position: #53 / 73
  • Number of attempts: 1
Whitespace, empty lines and tabs - 3763 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 33
  • Position: #635 / 807
  • Number of attempts: 3
Simple text editing with Vim - 13017 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1640 / 3745
  • Number of attempts: 3
Prithviraj Patil
Twitter:

entered into 12 challenges

contributed 0 challenges