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

1748 active golfers, 5071 entries

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

04/20/2012 at 08:59AM

12
#>705 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 08:58AM

13
#>1042 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 08:56AM

14
#>1296 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 08:54AM

17
#>1601 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 08:53AM

22
#>1685 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 08:51AM

32
#>1722 - Nolen Royalty / @NolenRoyalty

02/08/2012 at 01:34AM

35
#>1727 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 08:50AM

38
#>1730 - Nolen Royalty / @NolenRoyalty

02/08/2012 at 01:32AM

44
#>1735 - Nolen Royalty / @NolenRoyalty

02/08/2012 at 01:34AM