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

V to the i - 4885 entries

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

  • Best score: 7
  • Best player score: 17
  • Position: #1904 / 1915
  • Number of attempts: 1
That hyphen - 2649 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 21
  • Position: #693 / 712
  • Number of attempts: 2
I forgot quotes - 16239 entries

Oops.

  • Best score: 10
  • Best player score: 45
  • Position: #4208 / 4225
  • Number of attempts: 1
Do you demand a shrubbery? - 1208 entries

Use :redir and crush the emacsgolfers.

  • Best score: 15
  • Best player score: 42
  • Position: #310 / 310
  • Number of attempts: 1
Where should I put the Newline? - 912 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 11
  • Position: #447 / 451
  • Number of attempts: 2
Shebangs for all - 2103 entries

We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.

  • Best score: 11
  • Best player score: 56
  • Position: #530 / 533
  • Number of attempts: 1
Braces or Brackets? - 1209 entries

Someone forgot whether to use braces or brackets and you have to clean up their code!

  • Best score: 34
  • Best player score: 250
  • Position: #364 / 365
  • Number of attempts: 1
Simple text editing with Vim - 13645 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 57
  • Position: #3841 / 3907
  • Number of attempts: 1
Felipe Martinez
Github:

entered into 8 challenges

contributed 0 challenges