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 4f0720c8f037090001000007

switch variable

how fast can you switch two variable ?

Start file
int barins, foovariable = 1; 
End file
int foovariable, barins = 1; 

View Diff

1c1
< int barins, foovariable = 1; 
---
> int foovariable, barins = 1; 

Solutions by @wataru420:

Unlock 7 remaining solutions by signing in and submitting your own entry
Created by: @lukastsai

1686 active golfers, 4859 entries

Solutions by @wataru420:
11
#20 - Wataru Fukunaga / @wataru420

01/19/2012 at 04:54PM

12
#>651 - Wataru Fukunaga / @wataru420

01/19/2012 at 04:52PM

14
#>1221 - Wataru Fukunaga / @wataru420

01/13/2012 at 04:19AM

14
#>1224 - Wataru Fukunaga / @wataru420

01/19/2012 at 03:58PM

15
#>1399 - Wataru Fukunaga / @wataru420

01/13/2012 at 04:17AM

16
#>1493 - Wataru Fukunaga / @wataru420

01/13/2012 at 04:09AM

17
#>1545 - Wataru Fukunaga / @wataru420

01/13/2012 at 03:58AM