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 - 4830 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1173 / 1903
  • Number of attempts: 2
Extract argument from function - 2376 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 16
  • Position: #536 / 759
  • Number of attempts: 2
Search and Replace 0 - 5031 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 16
  • Position: #1220 / 1638
  • Number of attempts: 1
Vice versa - 7974 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1248 / 2146
  • Number of attempts: 1
Where should I put the Newline? - 883 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 9
  • Position: #426 / 438
  • Number of attempts: 1
switch variable - 5094 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 13
  • Position: #1193 / 1754
  • Number of attempts: 1
Simple text editing with Vim - 13274 entries

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

  • Best score: 13
  • Best player score: 18
  • Position: #2705 / 3811
  • Number of attempts: 1
Pablo Cobelli
Twitter:

Experimental Physicist on Fluid Dynamics, Investigador Asistente IFIBA CONICET & JTP (DE) DF FCEN UBA.

entered into 7 challenges

contributed 0 challenges