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

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

1736 active golfers, 5036 entries

Solutions by @Seeemplicity:
11
#634 - Brian :| / @Seeemplicity

12/25/2020 at 06:50AM

12
#>993 - Brian :| / @Seeemplicity

12/25/2020 at 06:49AM

14
#>1437 - Brian :| / @Seeemplicity

12/25/2020 at 06:48AM

15
#>1533 - Brian :| / @Seeemplicity

12/25/2020 at 06:47AM

16
#>1586 - Brian :| / @Seeemplicity

12/25/2020 at 06:45AM

19
#>1653 - Brian :| / @Seeemplicity

12/25/2020 at 06:43AM

22
#>1680 - Brian :| / @Seeemplicity

12/25/2020 at 06:42AM

25
#>1698 - Brian :| / @Seeemplicity

12/25/2020 at 06:39AM

26
#>1698 - Brian :| / @Seeemplicity

12/25/2020 at 06:38AM

28
#>1705 - Brian :| / @Seeemplicity

12/25/2020 at 06:32AM