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

One number per line - 18732 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 21
  • Position: #2328 / 3865
  • Number of attempts: 2
V to the i - 4802 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Position: #1163 / 1893
  • Number of attempts: 2
Split line with dots - 2144 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 17
  • Position: #239 / 634
  • Number of attempts: 3
Free hyphen! - 169 entries

Just like "Inner hyphens", but I'm giving you a free hyphen to play with. Will your solution be any different?

  • Best score: 9
  • Best player score: 11
  • Position: #66 / 89
  • Number of attempts: 1
Replace and keep the case - 437 entries

Replace all instance of plugin and Plugin to device and Device.

  • Best score: 26
  • Best player score: 32
  • Position: #97 / 118
  • Number of attempts: 1
Align commas - 1095 entries

There are 15,000 aligning challenges on vimgolf.com, and they're all exactly the same. I hope this one is a little different.

  • Best score: 11
  • Best player score: 17
  • Position: #167 / 246
  • Number of attempts: 4
I forgot quotes - 15989 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Position: #2519 / 4181
  • Number of attempts: 1
-a-b-c- - 3213 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Position: #818 / 1137
  • Number of attempts: 1
george iv
Twitter:

Software Engineer; DevOps; Undocumented Admin; Factotum; Founder of https://t.co/0p1LuXtukT

entered into 8 challenges

contributed 0 challenges