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

Test everything! - 111 entries

... and build the desired input data structure. Transform a list of values into a non-trivial format.

  • Best score: 22
  • Best player score: 32
  • Number of attempts: 1
Swap values - 3154 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 6
Vice versa - 5376 entries

Little role switching.

  • Best score: 2
  • Best player score: 12
  • Number of attempts: 5
A HAPPY NEW YEAR 2014 ! - 9081 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 2
Sort files from hosts - 122 entries

Resume files by host. I hope you enjoy with this challenge

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 3
Just the middle - 8493 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
Simple, Practical, and Common - 21186 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: 5
  • Best player score: 22
  • Number of attempts: 5
Order and join - 695 entries

There's something special about the input order.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 5
Don't know what this is - 1606 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 4
Wrap text in quotes - 270 entries

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

  • Best score: 16
  • Best player score: 17
  • Number of attempts: 3
One number per line - 10466 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 5
multiple cursor alternative - 892 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: 21
  • Number of attempts: 4
Un"finnish"ed Work - 98 entries

Replace å by a, ä by a and ö by o.

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 1
YNWP
Twitter:

アイマスは人生。春香→やよいを経てSP以降は響P。でも基本的にみんな好き。

entered into 13 challenges

contributed 0 challenges