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

multiple cursor alternative - 1375 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
  • Number of attempts: 6
Fiddle percentages into real numbers - 767 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
  • Number of attempts: 2
Order and join - 813 entries

There's something special about the input order.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 8
Every other line - 2718 entries

AaAaAaA

  • Best score: 12
  • Best player score: 16
  • Number of attempts: 3
Simple, Practical, and Common - 32070 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
  • Number of attempts: 9
Collect List - 4077 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 5
Basic renumbering - 5325 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 16
  • Number of attempts: 12
Don't know what this is - 1884 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
  • Number of attempts: 2
Extract argument from function - 2146 entries

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

  • Best score: 13
  • Best player score: 17
  • Number of attempts: 1
SFD-ROC: ROT13 Phonics - 71 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
  • Number of attempts: 1
Whitespace, empty lines and tabs - 2733 entries

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

  • Best score: 16
  • Best player score: 33
  • Number of attempts: 3
Simple text editing with Vim - 11238 entries

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

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 3
Prithviraj Patil
Twitter:

entered into 12 challenges

contributed 0 challenges