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

1736 active golfers, 5036 entries

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

04/20/2012 at 08:59AM

12
#>701 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 08:58AM

13
#>1036 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 08:56AM

14
#>1289 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 08:54AM

17
#>1593 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 08:53AM

22
#>1675 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 08:51AM

32
#>1712 - Nolen Royalty / @NolenRoyalty

02/08/2012 at 01:34AM

35
#>1717 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 08:50AM

38
#>1720 - Nolen Royalty / @NolenRoyalty

02/08/2012 at 01:32AM

44
#>1724 - Nolen Royalty / @NolenRoyalty

02/08/2012 at 01:34AM