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

Swap values - 4644 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 16
  • Position: #1082 / 1275
  • Number of attempts: 1
One number per line - 18780 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 32
  • Position: #3700 / 3877
  • Number of attempts: 2
Swap values inside brackets - 2515 entries

Easy challenge.

  • Best score: 13
  • Best player score: 22
  • Position: #446 / 584
  • Number of attempts: 1
Com(m)a Trouble - 3890 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 48
  • Position: #842 / 882
  • Number of attempts: 1
Just the middle - 11500 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1150 / 4216
  • Number of attempts: 3
One to Ten - 2234 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 25
  • Position: #646 / 679
  • Number of attempts: 1
Ketan Agrawal
Twitter:

entered into 6 challenges

contributed 0 challenges