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 @NolenRoyalty:

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

1754 active golfers, 5094 entries

Solutions by @NolenRoyalty:
11
#95 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 08:59AM

12
#>709 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 08:58AM

13
#>1046 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 08:56AM

14
#>1301 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 08:54AM

17
#>1606 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 08:53AM

22
#>1690 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 08:51AM

32
#>1727 - Nolen Royalty / @NolenRoyalty

02/08/2012 at 01:34AM

35
#>1732 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 08:50AM

38
#>1735 - Nolen Royalty / @NolenRoyalty

02/08/2012 at 01:32AM

44
#>1740 - Nolen Royalty / @NolenRoyalty

02/08/2012 at 01:34AM