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 546a627195f6da000265742d

Pretty format for variable declarations

Project standards demand the equal signs must be aligned for better readability.

Start file
var parser = require('../src/grammar.js'),
    src = require('../src/blueberry.js'),
    fs = require('fs'),
    glob = require('glob');
End file
var parser = require('../src/grammar.js'),
    src    = require('../src/blueberry.js'),
    fs     = require('fs'),
    glob   = require('glob');

View Diff

2,4c2,4
<     src = require('../src/blueberry.js'),
<     fs = require('fs'),
<     glob = require('glob');
\ No newline at end of file
---
>     src    = require('../src/blueberry.js'),
>     fs     = require('fs'),
>     glob   = require('glob');
\ No newline at end of file

Solutions by @JakeEskel:

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

63 active golfers, 156 entries

Solutions by @JakeEskel:
14
#16 - Jake Eskel / @JakeEskel

01/27/2015 at 03:36PM

15
#>29 - Jake Eskel / @JakeEskel

12/31/2014 at 08:53PM

17
#>38 - Jake Eskel / @JakeEskel

12/31/2014 at 08:34PM

19
#>49 - Jake Eskel / @JakeEskel

12/31/2014 at 08:31PM

19
#>49 - Jake Eskel / @JakeEskel

12/31/2014 at 08:32PM

22
#>56 - Jake Eskel / @JakeEskel

12/31/2014 at 08:30PM

22
#>56 - Jake Eskel / @JakeEskel

12/31/2014 at 08:30PM