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 - 33621 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 / 7422
  • Number of attempts: 5
One number per line - 18732 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #290 / 3865
  • Number of attempts: 8
multiple cursor alternative - 1519 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: #119 / 380
  • Number of attempts: 3
Just the middle - 11457 entries

Delete the instructions at the top and bottom.

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

Little role switching.

  • Best score: 12
  • Best player score: 13
  • Position: #782 / 2129
  • Number of attempts: 4
Hail to Alekseï Pajitnov - 37 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: #7 / 15
  • Number of attempts: 2
Array transposition - 2417 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 18
  • Position: #187 / 448
  • Number of attempts: 5
I forgot quotes - 15989 entries

Oops.

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

entered into 8 challenges

contributed 0 challenges