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 - 34021 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: #3633 / 7517
  • Number of attempts: 3
multiple cursor alternative - 1592 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: #354 / 388
  • Number of attempts: 2
Every other line - 2951 entries

AaAaAaA

  • Best score: 12
  • Best player score: 19
  • Position: #601 / 712
  • Number of attempts: 3
Copy three lines - 2924 entries

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

  • Best score: 13
  • Best player score: 19
  • Position: #381 / 647
  • Number of attempts: 5
Search and Replace 0 - 5162 entries

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

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

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2710 / 4258
  • Number of attempts: 1
Team names - 1861 entries

The team names are misspelled.

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

Four is NOT 1. One is 1.

  • Best score: 18
  • Best player score: 43
  • Position: #184 / 187
  • Number of attempts: 1
convert yml into java pojo field - 879 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: #135 / 233
  • Number of attempts: 1
Space out the alphabet - 1696 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 24
  • Position: #386 / 458
  • Number of attempts: 2
-a-b-c- - 3242 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Position: #856 / 1147
  • Number of attempts: 1
Words in parens - 13054 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 19
  • Position: #3164 / 3991
  • Number of attempts: 1
Vertical Limit - 2637 entries

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

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

entered into 13 challenges

contributed 0 challenges