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

Exchanging Quotes - 823 entries

Sometimes you need to exchange a choice of quotes in some code.

  • Best score: 30
  • Best player score: 32
  • Position: #56 / 226
  • Number of attempts: 9
replacing each line of a block selection - 2947 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 35
  • Position: #714 / 768
  • Number of attempts: 1
Reverse and double space - 491 entries

Reverse the order of the given lines and double space everything

  • Best score: 14
  • Best player score: 18
  • Position: #157 / 195
  • Number of attempts: 2
un-C-escape string - 56 entries

Convert escape sequences to characters

  • Best score: 12
  • Best player score: 14
  • Position: #49 / 50
  • Number of attempts: 1
switch variable - 5036 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #93 / 1736
  • Number of attempts: 18
magdzikk
Twitter:

entered into 5 challenges

contributed 0 challenges