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 - 18395 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 21
  • Position: #2284 / 3793
  • Number of attempts: 2
V to the i - 4641 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1146 / 1857
  • Number of attempts: 2
Split line with dots - 2103 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 17
  • Position: #237 / 623
  • Number of attempts: 3
Free hyphen! - 149 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: #61 / 81
  • Number of attempts: 1
Replace and keep the case - 395 entries

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

  • Best score: 26
  • Best player score: 32
  • Position: #91 / 111
  • Number of attempts: 1
Align commas - 1040 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: #159 / 236
  • Number of attempts: 4
I forgot quotes - 15748 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Position: #2475 / 4116
  • Number of attempts: 1
-a-b-c- - 3118 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Position: #799 / 1112
  • 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