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

Bad Copy Syntax - 541 entries

Copy should be from right to left, but sometimes you type it wrong.

  • Best score: 19
  • Best player score: 203
  • Number of attempts: 1
Vice versa - 6001 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 8
Swap values - 3589 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 8
One number per line - 13102 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 10
Just the middle - 9346 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
Words in parens - 11120 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 2
-a-b-c- - 2617 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 5
Wrap text in quotes - 289 entries

All the blocks of text should be wrapped in quotation marks.

  • Best score: 16
  • Best player score: 16
  • Number of attempts: 5
Applying same text modification in several lines - 1723 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 1
multiple cursor alternative - 1083 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: 7
Simple, Practical, and Common - 25409 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: 7
Urbanovics P├ęter
Twitter:

entered into 11 challenges

contributed 0 challenges