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

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

64 active golfers, 170 entries

Solutions by @russellzhaomao:
14
#22 - russellzhaomao / @russellzhaomao

06/22/2022 at 10:50AM

15
#>33 - russellzhaomao / @russellzhaomao

06/22/2022 at 10:49AM

16
#>37 - russellzhaomao / @russellzhaomao

06/22/2022 at 10:48AM

19
#>52 - russellzhaomao / @russellzhaomao

06/22/2022 at 10:48AM

20
#>53 - russellzhaomao / @russellzhaomao

06/22/2022 at 10:45AM

21
#>54 - russellzhaomao / @russellzhaomao

06/22/2022 at 10:44AM

23
#>60 - russellzhaomao / @russellzhaomao

06/22/2022 at 10:40AM

25
#>61 - russellzhaomao / @russellzhaomao

06/22/2022 at 10:38AM