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 - 32904 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: 22
  • Best player score: 22
  • Position: #374 / 7270
  • Number of attempts: 5
Swap values - 4440 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 12
  • Position: #367 / 1241
  • Number of attempts: 4
Start coding format - 129 entries

I used to start coding with following format: int main(){ -(cursor here) }

  • Best score: 22
  • Best player score: 24
  • Position: #50 / 64
  • Number of attempts: 1
Inner hyphens - 122 entries

Yet another hyphen challenge. Adding 5 hyphens to a file shouldn't be too hard.

  • Best score: 11
  • Best player score: 12
  • Position: #24 / 76
  • Number of attempts: 1
Remove semicolons after expressions - 541 entries

A follow-up for http://vimgolf.com/challenges/4fc9d767d3a0d4000100000e.

  • Best score: 6
  • Best player score: 7
  • Position: #122 / 235
  • Number of attempts: 1
Remember FizzBuzz? - 587 entries

Output FizzBuzz to 100. Start with nothing.

  • Best score: 39
  • Best player score: 49
  • Position: #30 / 166
  • Number of attempts: 10
Trey Thomas
Twitter:

entered into 6 challenges

contributed 0 challenges