felixge/vim-nodejs-errorformat — Issue #1: clever hack idea for core modules
Author: isaacs
Created: 2011-12-21 19:21:21+00:00
State: open

Re: this in the readme:

> Node core modules are listed in the quickfix window, but can't be opened because node.js does not install those files on your local system. I am looking for ideas on a clever hack, otherwise I'll make an option for hiding those files from the error list.

Check this out:

```
node -e 'console.log(process.binding("natives").fs)' | vim -
```

Or even:

```
node -e 'console.log(process.binding("natives").fs)' > /tmp/node-core/fs.js
vim /tmp/node-core/fs.js
```

I bet you could use that in some way, yeah?