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 - 26754 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: 32
  • Number of attempts: 1
Just the middle - 9664 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
Applying same text modification in several lines - 1984 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 13
  • Best player score: 18
  • Number of attempts: 2
I forgot quotes - 12699 entries

Oops.

  • Best score: 10
  • Best player score: 19
  • Number of attempts: 1
Swap values inside brackets - 1733 entries

Easy challenge.

  • Best score: 13
  • Best player score: 17
  • Number of attempts: 4
Change part of a function name in multiple occurrences - 478 entries

Change the middle part of the function name in multiple places, preferably using the next and dot commands.

  • Best score: 14
  • Best player score: 21
  • Number of attempts: 1
Com(m)a Trouble - 2090 entries

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

  • Best score: 12
  • Best player score: 18
  • Number of attempts: 1
Zeming Lin
Twitter:

Facebook AI research engineer. Plays StarCraft all day. Definitely not Skynet. Personal account, all opinions are my own.

entered into 7 challenges

contributed 0 challenges