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

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

  • Best score: 7
  • Best player score: 8
  • Position: #1174 / 1904
  • Number of attempts: 2
Extract argument from function - 2379 entries

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

  • Best score: 13
  • Best player score: 16
  • Position: #537 / 760
  • Number of attempts: 2
Search and Replace 0 - 5045 entries

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

  • Best score: 12
  • Best player score: 16
  • Position: #1224 / 1644
  • Number of attempts: 1
Vice versa - 7981 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1249 / 2147
  • Number of attempts: 1
Where should I put the Newline? - 885 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 9
  • Position: #427 / 439
  • Number of attempts: 1
switch variable - 5101 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 13
  • Position: #1195 / 1756
  • Number of attempts: 1
Simple text editing with Vim - 13427 entries

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

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