Update vi.js

Sync’d with ac161ddb62.
Merge pull request #878 from 1ec5/patch-1

Update vi.js