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 - 33930 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: 26
  • Position: #3626 / 7490
  • Number of attempts: 3
multiple cursor alternative - 1556 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: 31
  • Position: #352 / 386
  • Number of attempts: 2
Every other line - 2925 entries

AaAaAaA

  • Best score: 12
  • Best player score: 19
  • Position: #597 / 707
  • Number of attempts: 3
Copy three lines - 2882 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 19
  • Position: #377 / 642
  • Number of attempts: 5
Search and Replace 0 - 5045 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Position: #527 / 1644
  • Number of attempts: 4
Just the middle - 11555 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2706 / 4234
  • Number of attempts: 1
Team names - 1854 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 16
  • Position: #165 / 593
  • Number of attempts: 7
Scrambled numbers - 814 entries

Four is NOT 1. One is 1.

  • Best score: 18
  • Best player score: 43
  • Position: #182 / 185
  • Number of attempts: 1
convert yml into java pojo field - 873 entries

How fast vim can create fields for java pojo i.e class declaration referring to a (simple) yml file

  • Best score: 29
  • Best player score: 31
  • Position: #134 / 231
  • Number of attempts: 1
Space out the alphabet - 1659 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 24
  • Position: #378 / 446
  • Number of attempts: 2
-a-b-c- - 3225 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Position: #850 / 1140
  • Number of attempts: 1
Words in parens - 13005 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 19
  • Position: #3155 / 3979
  • Number of attempts: 1
Vertical Limit - 2615 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 29
  • Position: #652 / 772
  • Number of attempts: 1
Ano Nym
Twitter:

entered into 13 challenges

contributed 0 challenges