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 - 32879 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: #1054 / 7266
  • Number of attempts: 5
One number per line - 18369 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #290 / 3786
  • Number of attempts: 8
multiple cursor alternative - 1441 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: 20
  • Position: #113 / 368
  • Number of attempts: 3
Just the middle - 11124 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #973 / 4109
  • Number of attempts: 4
Vice versa - 7508 entries

Little role switching.

  • Best score: 12
  • Best player score: 13
  • Position: #751 / 2038
  • Number of attempts: 4
Hail to Alekseï Pajitnov - 30 entries

Wanna play tetris? Don't panic, it's quite long but there's no piece rotation. Little advice: source the file, Luke!

  • Best score: 51
  • Best player score: 53
  • Position: #6 / 12
  • Number of attempts: 2
Array transposition - 2295 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 18
  • Position: #177 / 430
  • Number of attempts: 5
I forgot quotes - 15710 entries

Oops.

  • Best score: 10
  • Best player score: 12
  • Position: #1315 / 4108
  • Number of attempts: 4
elmoloves
Twitter:

entered into 8 challenges

contributed 0 challenges