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

Simple, Practical, and Common - 26338 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: 14
  • Best player score: 26
  • Number of attempts: 4
Simple text editing with Vim - 10608 entries

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

  • Best score: 13
  • Best player score: 20
  • Number of attempts: 1
Com(m)a Trouble - 1978 entries

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

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 9
A HAPPY NEW YEAR 2014 ! - 9667 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 17
  • Number of attempts: 2
Increment each number - 557 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 22
  • Number of attempts: 2
Condensed Cases - 695 entries

Apple's new programming language, Swift, allows two style of case statements: 1) one Enum case on each line, or 2) multiple Enum cases on a single line. Convert the following from the first case (no pun intended) to the second type.

  • Best score: 12
  • Best player score: 14
  • Number of attempts: 3
I forgot quotes - 12472 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Number of attempts: 2

Contributed Challenges

Increment each number - 557 entries

Increment each number individually by one

Pretty format for variable declarations - 128 entries

Project standards demand the equal signs must be aligned for better readability.

Federico Ramirez
Twitter:

Riddlesolver who can't solve riddles. Programmer, gamer, martial artist, and cat lover from Argentina.

entered into 7 challenges

contributed 2 challenges