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

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

  • Best score: 7
  • Best player score: 8
  • Position: #1177 / 1915
  • Number of attempts: 2
Extract argument from function - 2429 entries

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

  • Best score: 13
  • Best player score: 16
  • Position: #547 / 773
  • Number of attempts: 2
Search and Replace 0 - 5162 entries

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

  • Best score: 12
  • Best player score: 16
  • Position: #1247 / 1675
  • Number of attempts: 1
Vice versa - 8021 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1254 / 2158
  • Number of attempts: 1
Where should I put the Newline? - 912 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 9
  • Position: #437 / 451
  • Number of attempts: 1
switch variable - 5128 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 13
  • Position: #1200 / 1764
  • Number of attempts: 1
Simple text editing with Vim - 13644 entries

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

  • Best score: 13
  • Best player score: 18
  • Position: #2765 / 3906
  • 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